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:
authorBastien Montagne <montagne29@wanadoo.fr>2014-11-17 10:13:22 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2014-11-17 13:19:54 +0300
commitdab0bd9de65a9be5e8ababba0e2799f994d5d12f (patch)
treec8766a347b72d7e048d2eaf8afb6615f0b3a4a28 /source/blender/blenkernel/intern
parentb7f5ab0cd33bc7632bd71af5f883745e340d6e18 (diff)
Fix T35170: Undoing edit op on a basis shapekey could generate extra offset on its 'children'.
Based on investigation by sergey (Sergey Sharybin) and revzin (Grigory Revzin). Based on patch D460 by revzin (Grigory Revzin). Differential Revision: https://developer.blender.org/D460
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r--source/blender/blenkernel/intern/key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/key.c b/source/blender/blenkernel/intern/key.c
index b98213918bf..98fdac6e49c 100644
--- a/source/blender/blenkernel/intern/key.c
+++ b/source/blender/blenkernel/intern/key.c
@@ -2210,7 +2210,7 @@ bool BKE_keyblock_move(Object *ob, int org_index, int new_index)
/**
* Check if given keyblock (as index) is used as basis by others in given key.
*/
-bool BKE_keyblock_is_basis(struct Key *key, const int index)
+bool BKE_keyblock_is_basis(Key *key, const int index)
{
KeyBlock *kb;
int i;