fix nodes not being marked as dirty with multiple mutations

This commit is contained in:
Evan Almloff committed 2023-03-24 12:57:19 -05:00
1 parent f0bcb3c2c6
commit 6bc9bc6ef9
2 files changed
+16 -8

No files matched your search

+1 -1
View File
@@ -126,7 +126,7 @@ impl AttributeMask {
pub fn union(&self, other: &Self) -> Self {
match (self, other) {
(AttributeMask::Some(s), AttributeMask::Some(o)) => {
AttributeMask::Some(s.intersection(o).cloned().collect())
AttributeMask::Some(s.union(o).cloned().collect())
}
_ => AttributeMask::All,
}