[Bf-blender-cvs] [7fff7be] master: Cleanup: sculpt float -> bool

Campbell Barton noreply at git.blender.org
Sun Oct 5 17:18:56 CEST 2014


Commit: 7fff7beac157ab8bf5b0aed39f470ebbe8261e24
Author: Campbell Barton
Date:   Sun Oct 5 16:06:19 2014 +0200
Branches: master
https://developer.blender.org/rB7fff7beac157ab8bf5b0aed39f470ebbe8261e24

Cleanup: sculpt float -> bool

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

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 891130a..defc7d7 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -192,8 +192,8 @@ typedef struct StrokeCache {
 	float true_location[3];
 	float location[3];
 
-	float pen_flip;
-	float invert;
+	bool pen_flip;
+	bool invert;
 	float pressure;
 	float mouse[2];
 	float bstrength;




More information about the Bf-blender-cvs mailing list