Asset Pipeline v2 #145
@ -1,4 +1,5 @@
|
|||||||
import bpy
|
import bpy
|
||||||
|
from ..merge.naming import task_layer_prefix_transfer_data_update
|
||||||
from .asset_mapping import AssetTransferMapping
|
from .asset_mapping import AssetTransferMapping
|
||||||
from .transfer_data.transfer_core import (
|
from .transfer_data.transfer_core import (
|
||||||
init_transfer_data,
|
init_transfer_data,
|
||||||
@ -74,6 +75,9 @@ def ownership_get(
|
|||||||
task_layer_objs = get_task_layer_objects()
|
task_layer_objs = get_task_layer_objects()
|
||||||
|
|
||||||
for obj in local_col.all_objects:
|
for obj in local_col.all_objects:
|
||||||
|
for transfer_data_item in obj.transfer_data_ownership:
|
||||||
|
task_layer_prefix_transfer_data_update(transfer_data_item)
|
||||||
|
|
||||||
# Mark Asset ID Owner for objects in the current task layers collection
|
# Mark Asset ID Owner for objects in the current task layers collection
|
||||||
if obj.asset_id_owner == "NONE" and obj in task_layer_objs:
|
if obj.asset_id_owner == "NONE" and obj in task_layer_objs:
|
||||||
obj.asset_id_owner = default_task_layer
|
obj.asset_id_owner = default_task_layer
|
||||||
|
Loading…
Reference in New Issue
Block a user