Asset Pipeline: Improve Push Operator UI #199
@ -365,8 +365,8 @@ class ASSETPIPE_OT_sync_push(bpy.types.Operator):
|
|||||||
|
|
||||||
def draw(self, context: bpy.types.Context):
|
def draw(self, context: bpy.types.Context):
|
||||||
prefs = get_addon_prefs()
|
prefs = get_addon_prefs()
|
||||||
if prefs.is_advanced_mode:
|
|
||||||
self.layout.prop(self, "pull")
|
self.layout.prop(self, "pull")
|
||||||
sync_draw(self, context)
|
sync_draw(self, context)
|
||||||
|
|
||||||
def execute(self, context: bpy.types.Context):
|
def execute(self, context: bpy.types.Context):
|
||||||
|
Loading…
Reference in New Issue
Block a user