From d5797c313c831dbb7ba807b297cb31ce18e6a867 Mon Sep 17 00:00:00 2001 From: akaneyu Date: Wed, 22 May 2024 00:18:24 +0900 Subject: [PATCH] Enable Replace Color feature --- addon/ui.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/addon/ui.py b/addon/ui.py index daaa4f9..c277e37 100644 --- a/addon/ui.py +++ b/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...', 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"