Asset Pipeline v2 #145
@ -223,13 +223,12 @@ class AssetTransferMapping:
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
def _gen_transfer_data_map(self):
|
def _gen_transfer_data_map(self):
|
||||||
context = bpy.context
|
context = bpy.context # Bruh.
|
||||||
transfer_data_map: Dict[bpy.types.Collection, bpy.types.Collection] = {}
|
transfer_data_map: Dict[bpy.types.Collection, bpy.types.Collection] = {}
|
||||||
temp_transfer_data = context.scene.asset_pipeline.temp_transfer_data
|
temp_transfer_data = context.scene.asset_pipeline.temp_transfer_data
|
||||||
temp_transfer_data.clear()
|
temp_transfer_data.clear()
|
||||||
for source_obj in self.object_map:
|
for objs in self.object_map.items():
|
||||||
target_obj = self.object_map[source_obj]
|
source_obj, target_obj = objs
|
||||||
objs = [source_obj, target_obj]
|
|
||||||
for obj in objs:
|
for obj in objs:
|
||||||
for transfer_data_item in obj.transfer_data_ownership:
|
for transfer_data_item in obj.transfer_data_ownership:
|
||||||
self._check_transfer_data_conflict(obj, transfer_data_item)
|
self._check_transfer_data_conflict(obj, transfer_data_item)
|
||||||
|
Loading…
Reference in New Issue
Block a user