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:
authorCampbell Barton <ideasman42@gmail.com>2013-05-09 11:02:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-09 11:02:51 +0400
commit6f8c29ab0b0b33bcb8fc75d47fc3f5eca8fc55cd (patch)
tree05f75e99305421b82a209d8ff2f55bff50bacdc1 /source/blender/editors/object/object_shapekey.c
parent279a2a1916d87aea05a67a592c9831c8d335071b (diff)
fix for 2 errors introduced since release
- shape key NULL pointer dereference. - use uninitialized variable for bmesh free. also update credits and merge dissolve flag assignment.
Diffstat (limited to 'source/blender/editors/object/object_shapekey.c')
-rw-r--r--source/blender/editors/object/object_shapekey.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/object/object_shapekey.c b/source/blender/editors/object/object_shapekey.c
index 6fd2054637d..543b003f5a5 100644
--- a/source/blender/editors/object/object_shapekey.c
+++ b/source/blender/editors/object/object_shapekey.c
@@ -458,10 +458,10 @@ static int shape_key_move_exec(bContext *C, wmOperator *op)
}
SWAP(float, kb_other->pos, kb->pos); /* for absolute shape keys */
- }
- /* First key is refkey, matches interface and BKE_key_sort */
- key->refkey = key->block.first;
+ /* First key is refkey, matches interface and BKE_key_sort */
+ key->refkey = key->block.first;
+ }
DAG_id_tag_update(&ob->id, OB_RECALC_DATA);
WM_event_add_notifier(C, NC_OBJECT | ND_DRAW, ob);