[Bf-blender-cvs] [5e224fb] vertex_paint_pbvh: Fix silly error in last merge

Antony Riakiotakis noreply at git.blender.org
Thu Feb 26 16:24:34 CET 2015


Commit: 5e224fb93474e109e1bb94cec9881e57ce0843b0
Author: Antony Riakiotakis
Date:   Thu Feb 26 16:24:07 2015 +0100
Branches: vertex_paint_pbvh
https://developer.blender.org/rB5e224fb93474e109e1bb94cec9881e57ce0843b0

Fix silly error in last merge

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

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 1d103c6..26ec645 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -4271,7 +4271,7 @@ static void sculpt_stroke_update_step(bContext *C, struct PaintStroke *UNUSED(st
 		        psession->pbvh,
 		        (ss->cache->radius /
 		        (float)ups->pixel_radius) *
-		        (float)(psession->detail_size * U.pixelsize) / 0.4f);
+		        (float)(sd->detail_size * U.pixelsize) / 0.4f);
 	}
 
 	if (sculpt_stroke_dynamic_topology(ss, psession, brush)) {




More information about the Bf-blender-cvs mailing list