[Bf-blender-cvs] [3b34d7a42dc] greasepencil-edit-curve: GPencil: Fix compiler warning

Antonio Vazquez noreply at git.blender.org
Thu Jun 11 20:41:07 CEST 2020


Commit: 3b34d7a42dc9d053559e7e287931ee1cab7ee6be
Author: Antonio Vazquez
Date:   Thu Jun 11 20:41:01 2020 +0200
Branches: greasepencil-edit-curve
https://developer.blender.org/rB3b34d7a42dc9d053559e7e287931ee1cab7ee6be

GPencil: Fix compiler warning

This is temp hack.

===================================================================

M	source/blender/editors/transform/transform_convert_gpencil.c

===================================================================

diff --git a/source/blender/editors/transform/transform_convert_gpencil.c b/source/blender/editors/transform/transform_convert_gpencil.c
index 1dad8f71e4c..3ec5428d323 100644
--- a/source/blender/editors/transform/transform_convert_gpencil.c
+++ b/source/blender/editors/transform/transform_convert_gpencil.c
@@ -84,6 +84,8 @@ void createTransGPencil(bContext *C, TransInfo *t)
   const bool use_multiframe_falloff = (ts->gp_sculpt.flag & GP_SCULPT_SETT_FLAG_FRAME_FALLOFF) !=
                                       0;
   const bool is_curve_edit = (bool)GPENCIL_CURVE_EDIT_SESSIONS_ON(gpd);
+  /* TODO GPXX: Fix compiler warning while is wip. */
+  UNUSED_VARS(is_curve_edit);
 
   const bool is_prop_edit = (t->flag & T_PROP_EDIT) != 0;
   const bool is_prop_edit_connected = (t->flag & T_PROP_CONNECTED) != 0;



More information about the Bf-blender-cvs mailing list