Allow passing domain to store

This commit is contained in:
Carson Katri 2023-11-15 12:51:24 -05:00 • committed by Carson Katri
commit 56d61980ad

View file

@ -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,