Enable Replace Color feature

This commit is contained in:
akaneyu 2024-05-22 00:18:24 +09:00
parent a580a4e137
commit d5797c313c
1 changed files with 5 additions and 5 deletions

View File

@ -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...',
icon_value=get_icon_id('color_curve'))
#layout.operator(IMAGE_EDITOR_PLUS_OT_replace_color_dialog.bl_idname, text="Replace Color...",
# icon='COLOR')
layout.operator(IMAGE_EDITOR_PLUS_OT_replace_color_dialog.bl_idname, text="Replace Color...",
icon='COLOR')
class IMAGE_EDITOR_PLUS_MT_filter_menu(bpy.types.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...',
icon_value=get_icon_id('color_curve'))
#row = layout.row()
#row.operator(IMAGE_EDITOR_PLUS_OT_replace_color_dialog.bl_idname, text='Replace Color...',
# icon='COLOR')
row = layout.row()
row.operator(IMAGE_EDITOR_PLUS_OT_replace_color_dialog.bl_idname, text='Replace Color...',
icon='COLOR')
class IMAGE_EDITOR_PLUS_PT_filter_panel(bpy.types.Panel):
bl_label = "Filter"