Allow passing domain to `store`

main
Carson Katri 2023-11-15 12:51:24 -05:00 zatwierdzone przez Carson Katri
rodzic da99654edb
commit 56d61980ad
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -66,9 +66,10 @@ class Attribute:
Creates a "Store Named Attribute" node with the correct arguments passed, and returns the modified `Geometry`.
"""
from geometry_script import store_named_attribute
if 'domain' not in kwargs:
kwargs['domain'] = self.domain
return store_named_attribute(
data_type=self.data_type,
domain=self.domain,
geometry=geometry,
name=self.name,
value=value,