Enable Replace Color feature
This commit is contained in:
parent
a580a4e137
commit
d5797c313c
10
addon/ui.py
10
addon/ui.py
|
@ -1407,8 +1407,8 @@ class IMAGE_EDITOR_PLUS_MT_adjust_menu(bpy.types.Menu):
|
||||||
layout.operator(IMAGE_EDITOR_PLUS_OT_adjust_color_curve_dialog.bl_idname, text='Color Curve...',
|
layout.operator(IMAGE_EDITOR_PLUS_OT_adjust_color_curve_dialog.bl_idname, text='Color Curve...',
|
||||||
icon_value=get_icon_id('color_curve'))
|
icon_value=get_icon_id('color_curve'))
|
||||||
|
|
||||||
#layout.operator(IMAGE_EDITOR_PLUS_OT_replace_color_dialog.bl_idname, text="Replace Color...",
|
layout.operator(IMAGE_EDITOR_PLUS_OT_replace_color_dialog.bl_idname, text="Replace Color...",
|
||||||
# icon='COLOR')
|
icon='COLOR')
|
||||||
|
|
||||||
class IMAGE_EDITOR_PLUS_MT_filter_menu(bpy.types.Menu):
|
class IMAGE_EDITOR_PLUS_MT_filter_menu(bpy.types.Menu):
|
||||||
bl_idname = "IMAGE_EDITOR_PLUS_MT_filter_menu"
|
bl_idname = "IMAGE_EDITOR_PLUS_MT_filter_menu"
|
||||||
|
@ -1752,9 +1752,9 @@ class IMAGE_EDITOR_PLUS_PT_adjust_panel(bpy.types.Panel):
|
||||||
row.operator(IMAGE_EDITOR_PLUS_OT_adjust_color_curve_dialog.bl_idname, text='Color Curve...',
|
row.operator(IMAGE_EDITOR_PLUS_OT_adjust_color_curve_dialog.bl_idname, text='Color Curve...',
|
||||||
icon_value=get_icon_id('color_curve'))
|
icon_value=get_icon_id('color_curve'))
|
||||||
|
|
||||||
#row = layout.row()
|
row = layout.row()
|
||||||
#row.operator(IMAGE_EDITOR_PLUS_OT_replace_color_dialog.bl_idname, text='Replace Color...',
|
row.operator(IMAGE_EDITOR_PLUS_OT_replace_color_dialog.bl_idname, text='Replace Color...',
|
||||||
# icon='COLOR')
|
icon='COLOR')
|
||||||
|
|
||||||
class IMAGE_EDITOR_PLUS_PT_filter_panel(bpy.types.Panel):
|
class IMAGE_EDITOR_PLUS_PT_filter_panel(bpy.types.Panel):
|
||||||
bl_label = "Filter"
|
bl_label = "Filter"
|
||||||
|
|
Loading…
Reference in New Issue