From f1eb86c458f256d983fbb553be07b509dbdd0714 Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Tue, 17 Mar 2020 18:29:18 +0100 Subject: GPencil: Rename old color operators to material The color was used in old version when palettes were used, but now all are materials --- source/blender/editors/gpencil/gpencil_ops.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source/blender/editors/gpencil/gpencil_ops.c') diff --git a/source/blender/editors/gpencil/gpencil_ops.c b/source/blender/editors/gpencil/gpencil_ops.c index 233bebfc9b6..8794a27fb96 100644 --- a/source/blender/editors/gpencil/gpencil_ops.c +++ b/source/blender/editors/gpencil/gpencil_ops.c @@ -608,7 +608,7 @@ void ED_operatortypes_gpencil(void) WM_operatortype_append(GPENCIL_OT_stroke_arrange); WM_operatortype_append(GPENCIL_OT_stroke_change_color); - WM_operatortype_append(GPENCIL_OT_stroke_lock_color); + WM_operatortype_append(GPENCIL_OT_material_lock_unused); WM_operatortype_append(GPENCIL_OT_stroke_apply_thickness); WM_operatortype_append(GPENCIL_OT_stroke_cyclical_set); WM_operatortype_append(GPENCIL_OT_stroke_caps_set); @@ -648,11 +648,11 @@ void ED_operatortypes_gpencil(void) /* color handle */ WM_operatortype_append(GPENCIL_OT_lock_layer); - WM_operatortype_append(GPENCIL_OT_color_isolate); - WM_operatortype_append(GPENCIL_OT_color_hide); - WM_operatortype_append(GPENCIL_OT_color_reveal); - WM_operatortype_append(GPENCIL_OT_color_lock_all); - WM_operatortype_append(GPENCIL_OT_color_unlock_all); + WM_operatortype_append(GPENCIL_OT_material_isolate); + WM_operatortype_append(GPENCIL_OT_material_hide); + WM_operatortype_append(GPENCIL_OT_material_reveal); + WM_operatortype_append(GPENCIL_OT_material_lock_all); + WM_operatortype_append(GPENCIL_OT_material_unlock_all); WM_operatortype_append(GPENCIL_OT_select_material); /* Editing (Time) --------------- */ -- cgit v1.2.3