Asset Pipeline v2 #145
@ -479,12 +479,14 @@ def attribute_is_missing(transfer_info):
|
|||||||
|
|
||||||
|
|
||||||
def init_attributes(scene, obj):
|
def init_attributes(scene, obj):
|
||||||
|
if obj.type != "MESH":
|
||||||
|
return
|
||||||
transfer_data = obj.transfer_data_ownership
|
transfer_data = obj.transfer_data_ownership
|
||||||
task_layer_name = scene.asset_pipeline.task_layer_name
|
task_layer_name = scene.asset_pipeline.task_layer_name
|
||||||
type_key = constants.ATTRIBUTE_KEY
|
type_key = constants.ATTRIBUTE_KEY
|
||||||
list = obj.data.attributes
|
list = obj.data.attributes
|
||||||
for item in list:
|
for item in list:
|
||||||
if not item.is_required:
|
if item.is_required or item.is_internal:
|
||||||
continue
|
continue
|
||||||
# Only add new ownership transfer_info if vertex group doesn't have an owner
|
# Only add new ownership transfer_info if vertex group doesn't have an owner
|
||||||
matches = transfer_core.check_transfer_data_entry(
|
matches = transfer_core.check_transfer_data_entry(
|
||||||
|
Loading…
Reference in New Issue
Block a user