kopia lustrzana https://github.com/carson-katri/geometry-script
Allow passing domain to `store`
rodzic
da99654edb
commit
56d61980ad
|
@ -66,9 +66,10 @@ class Attribute:
|
||||||
Creates a "Store Named Attribute" node with the correct arguments passed, and returns the modified `Geometry`.
|
Creates a "Store Named Attribute" node with the correct arguments passed, and returns the modified `Geometry`.
|
||||||
"""
|
"""
|
||||||
from geometry_script import store_named_attribute
|
from geometry_script import store_named_attribute
|
||||||
|
if 'domain' not in kwargs:
|
||||||
|
kwargs['domain'] = self.domain
|
||||||
return store_named_attribute(
|
return store_named_attribute(
|
||||||
data_type=self.data_type,
|
data_type=self.data_type,
|
||||||
domain=self.domain,
|
|
||||||
geometry=geometry,
|
geometry=geometry,
|
||||||
name=self.name,
|
name=self.name,
|
||||||
value=value,
|
value=value,
|
||||||
|
|
Ładowanie…
Reference in New Issue