From c889b954bc35a81dd863232870db1326227c6189 Mon Sep 17 00:00:00 2001 From: Carson Katri Date: Wed, 15 Nov 2023 12:51:24 -0500 Subject: [PATCH] Allow passing domain to `store` --- api/static/attribute.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/static/attribute.py b/api/static/attribute.py index 009a890..ad8bd5d 100644 --- a/api/static/attribute.py +++ b/api/static/attribute.py @@ -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,