Asset Pipeline: Improve Push Operator UI #199
@ -371,13 +371,11 @@ 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()
|
|
||||||
|
|
||||||
# Find current task Layer
|
# Find current task Layer
|
||||||
sync_execute_update_ownership(self, context)
|
sync_execute_update_ownership(self, context)
|
||||||
|
Loading…
Reference in New Issue
Block a user