[Bf-blender-cvs] [5efb104003d] master: Silence warning

Dalai Felinto noreply at git.blender.org
Thu Oct 15 20:16:38 CEST 2020


Commit: 5efb104003d41664d6412279fb546ee53767d384
Author: Dalai Felinto
Date:   Thu Oct 15 20:03:26 2020 +0200
Branches: master
https://developer.blender.org/rB5efb104003d41664d6412279fb546ee53767d384

Silence warning

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

M	source/blender/editors/sculpt_paint/paint_mask.c

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

diff --git a/source/blender/editors/sculpt_paint/paint_mask.c b/source/blender/editors/sculpt_paint/paint_mask.c
index 13971f6bec4..cfb73153371 100644
--- a/source/blender/editors/sculpt_paint/paint_mask.c
+++ b/source/blender/editors/sculpt_paint/paint_mask.c
@@ -1079,7 +1079,6 @@ static void sculpt_gesture_apply_trim(SculptGestureContext *sgcontext)
 {
 
   SculptGestureTrimOperation *trim_operation = (SculptGestureTrimOperation *)sgcontext->operation;
-  Object *object = sgcontext->vc.obact;
   Mesh *sculpt_mesh = BKE_mesh_from_object(sgcontext->vc.obact);
   Mesh *trim_mesh = trim_operation->mesh;



More information about the Bf-blender-cvs mailing list