Asset Pipeline: Improve Push Operator UI #199

Merged
Showing only changes of commit b4700e65ea - Show all commits

View File

@ -371,11 +371,9 @@ class ASSETPIPE_OT_sync_push(bpy.types.Operator):
prefs = get_addon_prefs()
if prefs.is_advanced_mode:
self.layout.prop(self, "pull")
self.layout.prop(self, "save")
sync_draw(self, context)
def execute(self, context: bpy.types.Context):
if self.save:
save_images()
bpy.ops.wm.save_mainfile()