[Bf-blender-cvs] [d27fa507d59] greasepencil-object: Cleanup: Remove unused code
Antonio Vazquez
noreply at git.blender.org
Sat Oct 14 11:54:39 CEST 2017
Commit: d27fa507d59db0d8e5f26069f9db4e94d74c6b46
Author: Antonio Vazquez
Date: Sat Oct 14 11:54:28 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rBd27fa507d59db0d8e5f26069f9db4e94d74c6b46
Cleanup: Remove unused code
===================================================================
M source/blender/editors/sculpt_paint/paint_ops.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c
index 2833b6dacdd..7a30901cda6 100644
--- a/source/blender/editors/sculpt_paint/paint_ops.c
+++ b/source/blender/editors/sculpt_paint/paint_ops.c
@@ -361,9 +361,6 @@ static void PALETTE_OT_color_add(wmOperatorType *ot)
static int palette_color_delete_exec(bContext *C, wmOperator *UNUSED(op))
{
-#if 0
- Paint *paint = BKE_paint_get_active_from_context(C);
-#endif
Palette *palette = BKE_palette_get_active_from_context(C);
PaletteColor *color = BLI_findlink(&palette->colors, palette->active_color);
More information about the Bf-blender-cvs
mailing list