Replace VISIBLE_IPO buttons with HIDE ON/OFF
This commit is contained in:
parent
a1f74409ea
commit
5fbb27d65c
|
@ -503,9 +503,9 @@ def add_item(box, idx, segment):
|
|||
scene = bpy.context.scene
|
||||
row = box.row(align=True)
|
||||
if segment.glview is True:
|
||||
icon = "VISIBLE_IPO_ON"
|
||||
icon = "HIDE_OFF"
|
||||
else:
|
||||
icon = "VISIBLE_IPO_OFF"
|
||||
icon = "HIDE_ON"
|
||||
|
||||
row.prop(segment, 'glview', text="", toggle=True, icon=icon)
|
||||
row.prop(segment, 'gladvance', text="", toggle=True, icon="PREFERENCES")
|
||||
|
|
|
@ -977,10 +977,10 @@ class VIEW3D_PT_booltool_config(Panel):
|
|||
if isFTransf():
|
||||
row = layout.row(align=True)
|
||||
row.operator(BTool_EnableFTransform.bl_idname, text="Fast Vis", icon=icon)
|
||||
row.operator(BTool_EnableThisBrush.bl_idname, text="Enable", icon="VISIBLE_IPO_ON")
|
||||
row.operator(BTool_EnableThisBrush.bl_idname, text="Enable", icon="HIDE_OFF")
|
||||
row = layout.row(align=True)
|
||||
else:
|
||||
row.operator(BTool_EnableThisBrush.bl_idname, icon="VISIBLE_IPO_ON")
|
||||
row.operator(BTool_EnableThisBrush.bl_idname, icon="HIDE_OFF")
|
||||
row = layout.row(align=True)
|
||||
|
||||
if isPolyBrush(actObj):
|
||||
|
|
|
@ -95,7 +95,7 @@ class CLIP_MT_display_pie(Menu):
|
|||
pie = layout.menu_pie()
|
||||
|
||||
pie.prop(space, "show_names", text="Show Track Info", icon='WORDWRAP_ON')
|
||||
pie.prop(space, "show_disabled", text="Show Disabled Tracks", icon='VISIBLE_IPO_ON')
|
||||
pie.prop(space, "show_disabled", text="Show Disabled Tracks", icon='HIDE_OFF')
|
||||
pie.prop(space, "show_marker_search", text="Display Search Area", icon='VIEWZOOM')
|
||||
pie.prop(space, "show_marker_pattern", text="Display Pattern Area", icon='BORDERMOVE')
|
||||
|
||||
|
|
|
@ -190,7 +190,7 @@ class PieToolsPreferences(AddonPreferences):
|
|||
row.alignment = "LEFT"
|
||||
sub_box = row.box()
|
||||
sub_box.prop(self, "enable_all", emboss=False,
|
||||
icon="VISIBLE_IPO_ON", icon_only=True)
|
||||
icon="HIDE_OFF", icon_only=True)
|
||||
row.label(text="Enable All")
|
||||
|
||||
row = split.row()
|
||||
|
@ -198,7 +198,7 @@ class PieToolsPreferences(AddonPreferences):
|
|||
row.label(text="Disable All")
|
||||
sub_box = row.box()
|
||||
sub_box.prop(self, "disable_all", emboss=False,
|
||||
icon="VISIBLE_IPO_OFF", icon_only=True)
|
||||
icon="HIDE_ON", icon_only=True)
|
||||
|
||||
for mod in sub_modules:
|
||||
mod_name = mod.__name__.split('.')[-1]
|
||||
|
|
|
@ -131,7 +131,7 @@ class PIE_MT_ViewNumpad(Menu):
|
|||
icon='LOCKED').data_path = "space_data.lock_camera"
|
||||
|
||||
row = box.row(align=True)
|
||||
row.operator("view3d.view_camera", text="View Cam", icon='VISIBLE_IPO_ON')
|
||||
row.operator("view3d.view_camera", text="View Cam", icon='HIDE_OFF')
|
||||
row.operator("view3d.camera_to_view", text="Cam to view", icon='NONE')
|
||||
|
||||
icon_locked = 'LOCKED' if ob and ob.lock_rotation[0] is False else \
|
||||
|
|
Loading…
Reference in New Issue