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() prefs = get_addon_prefs()
if prefs.is_advanced_mode: if prefs.is_advanced_mode:
self.layout.prop(self, "pull") self.layout.prop(self, "pull")
self.layout.prop(self, "save")
sync_draw(self, context) sync_draw(self, context)
def execute(self, context: bpy.types.Context): def execute(self, context: bpy.types.Context):
if self.save:
save_images() save_images()
bpy.ops.wm.save_mainfile() bpy.ops.wm.save_mainfile()