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