Asset Pipeline v2 #145
@ -648,11 +648,9 @@ def attributes_get_editable(attributes):
|
||||
for attribute in attributes
|
||||
if not (
|
||||
attribute.is_internal
|
||||
# or attribute.is_required
|
||||
or attribute.is_required
|
||||
# Material Index is part of material transfer and should be skipped
|
||||
or attribute.name == 'material_index'
|
||||
or attribute.name
|
||||
== 'position' # TODO replace position with is_required in 4.0
|
||||
)
|
||||
]
|
||||
|
||||
@ -784,5 +782,4 @@ def init_parent(scene, obj, use_default_owner: bool):
|
||||
|
||||
def transfer_parent(target_obj, source_obj):
|
||||
target_obj.parent = source_obj.parent
|
||||
# TODO Test if this works in all cases
|
||||
target_obj.matrix_parent_inverse = source_obj.parent.matrix_world.inverted()
|
||||
|
Loading…
Reference in New Issue
Block a user