Asset Pipeline v2 #145

Closed
Nick Alberelli wants to merge 431 commits from (deleted):feature/asset-pipeline-v2 into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 898b66f69f - Show all commits

View File

@ -783,6 +783,8 @@ def init_parent(scene, obj):
# Only Execute if Material Slots exist on object # Only Execute if Material Slots exist on object
if obj.parent == None: if obj.parent == None:
return return
if obj.parent not in list(asset_pipe.asset_collection.all_objects):
raise Exception("Object parent cannot be outside of asset collection")
matches = check_transfer_data_entry(transfer_data, name, td_type_key) matches = check_transfer_data_entry(transfer_data, name, td_type_key)
# Only add new ownership transfer_data_item if vertex group doesn't have an owner # Only add new ownership transfer_data_item if vertex group doesn't have an owner
if len(matches) == 0: if len(matches) == 0: