[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35286] trunk/blender/source/blender/ editors/mesh/editmesh_tools.c: Bugfix #26243
Ton Roosendaal
ton at blender.org
Tue Mar 1 18:00:02 CET 2011
Revision: 35286
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35286
Author: ton
Date: 2011-03-01 17:00:01 +0000 (Tue, 01 Mar 2011)
Log Message:
-----------
Bugfix #26243
Not sure if it fixes the bug, but an RNA boolean was read as int...
Related to default for "Blend from Shape" tool.
Modified Paths:
--------------
trunk/blender/source/blender/editors/mesh/editmesh_tools.c
Modified: trunk/blender/source/blender/editors/mesh/editmesh_tools.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_tools.c 2011-03-01 16:26:37 UTC (rev 35285)
+++ trunk/blender/source/blender/editors/mesh/editmesh_tools.c 2011-03-01 17:00:01 UTC (rev 35286)
@@ -5208,7 +5208,7 @@
float *data, co[3];
float blend= RNA_float_get(op->ptr, "blend");
int shape= RNA_enum_get(op->ptr, "shape");
- int add= RNA_int_get(op->ptr, "add");
+ int add= RNA_boolean_get(op->ptr, "add");
int blended= 0;
if(key && (kb= BLI_findlink(&key->block, shape))) {
More information about the Bf-blender-cvs
mailing list