[Bf-blender-cvs] [21d91de8e79] master: Cleanup: remove unused struct member

Campbell Barton noreply at git.blender.org
Thu Oct 5 08:53:27 CEST 2017


Commit: 21d91de8e79fb143943f2a467dc568a7688b567c
Author: Campbell Barton
Date:   Thu Oct 5 17:52:05 2017 +1100
Branches: master
https://developer.blender.org/rB21d91de8e79fb143943f2a467dc568a7688b567c

Cleanup: remove unused struct member

Merged with soc-2016-pbvh-painting, no longer needed.

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

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

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

diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 961fac287c1..3035f4b7979 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -1540,7 +1540,6 @@ typedef struct {
 	bool hit;
 	float dist;
 	bool original;
-	PBVHNode* node;
 } SculptRaycastData;
 
 typedef struct {
@@ -4327,9 +4326,6 @@ static void sculpt_raycast_cb(PBVHNode *node, void *data_v, float *tmin)
 		{
 			srd->hit = 1;
 			*tmin = srd->dist;
-
-			//for vwpaint testing
-			srd->node = node;
 		}
 	}
 }



More information about the Bf-blender-cvs mailing list