Skip to content

Commit

Permalink
Allow passing domain to store
Browse files Browse the repository at this point in the history
  • Loading branch information
carson-katri committed Nov 17, 2023
1 parent da99654 commit 56d6198
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/static/attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,10 @@ def store(self, geometry: 'Geometry', value, *args, **kwargs) -> 'Geometry':
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,
Expand Down

0 comments on commit 56d6198

Please sign in to comment.