Asset Pipeline v2 #145
@ -41,7 +41,6 @@ def sync_invoke(self, context):
|
||||
|
||||
ownership_get(local_col, context.scene)
|
||||
|
||||
# TODO Remove Invalid Objs Explicitly, some will be auto removed but not all
|
||||
self._invalid_objs = get_invalid_objects(local_col, context.scene)
|
||||
self._shared_ids = init_shared_ids(context.scene)
|
||||
|
||||
@ -104,6 +103,9 @@ def sync_execute_prepare_sync(self, context):
|
||||
self.report({'ERROR'}, "Sync Target could not be determined")
|
||||
return {'CANCELLED'}
|
||||
|
||||
for obj in self._invalid_objs:
|
||||
bpy.data.objects.remove(obj)
|
||||
|
||||
|
||||
def sync_execute_pull(self, context):
|
||||
temp_file = self._temp_dir.joinpath(
|
||||
|
Loading…
Reference in New Issue
Block a user