allow arbitrary attribute value in owned attribute value (#574)
This commit is contained in:
1 parent
e98f46bbcc
commit
928b5358b2
4 files changed
+92
-4
No files matched your search
@@ -790,6 +790,12 @@ impl TemplateValue for OwnedAttributeValue {
|
||||
OwnedAttributeValue::Vec4Uint(u1, u2, u3, u4) => {
|
||||
AttributeValue::Vec4Uint(u1, u2, u3, u4)
|
||||
}
|
||||
OwnedAttributeValue::Any(owned) => {
|
||||
AttributeValue::Any(crate::ArbitraryAttributeValue {
|
||||
value: bump.alloc(owned.value),
|
||||
cmp: owned.cmp,
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user