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 0d41e657e2 - Show all commits

View File

@ -209,6 +209,8 @@ class ASSETPIPE_OT_sync_with_publish(bpy.types.Operator):
) )
if error_msg: if error_msg:
bpy.ops.wm.open_mainfile(filepath=temp_file.__str__())
bpy.ops.wm.save_as_mainfile(filepath=current_file.__str__())
self.report({'ERROR'}, error_msg) self.report({'ERROR'}, error_msg)
return {'CANCELLED'} return {'CANCELLED'}