Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2011-03-01 20:00:01 +0300
committerTon Roosendaal <ton@blender.org>2011-03-01 20:00:01 +0300
commitd23a7574a043b63fbe819f6b4e63edadf9127deb (patch)
tree7ac29a93bf014550ff7b31a3f9a05f459cdf63ee /source/blender/editors/mesh
parent32d87359e1e670cd47d3fb427f37de7217203785 (diff)
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.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_tools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index 6328870196d..81b1c0919ee 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -5208,7 +5208,7 @@ static int blend_from_shape_exec(bContext *C, wmOperator *op)
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))) {