fix: set object property
This commit is contained in:
@@ -260,7 +260,8 @@ def create_primitive_shape_class(cls, path, name=None, name_prefix=''):
|
||||
|
||||
|
||||
def assign_and_return(BPY_OBJ, name, value):
|
||||
BPY_OBJ[name] = value
|
||||
setattr(BPY_OBJ, name, value)
|
||||
# BPY_OBJ[name] = value
|
||||
# print(BPY_OBJ,name, BPY_OBJ[name])
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user