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:
Diffstat (limited to 'source/blender/editors/animation/keyframing.c')
-rw-r--r--source/blender/editors/animation/keyframing.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c
index 1e9d8af418a..4f1149ca450 100644
--- a/source/blender/editors/animation/keyframing.c
+++ b/source/blender/editors/animation/keyframing.c
@@ -1835,9 +1835,7 @@ static int insert_key_button_exec(bContext *C, wmOperator *op)
*
* TODO: Perhaps we can extend this behaviour in future for other properties...
*/
- if ((ptr.type == &RNA_PoseBone) &&
- (strstr(identifier, "location") || strstr(identifier, "rotation") || strstr(identifier, "scale")))
- {
+ if (ptr.type == &RNA_PoseBone) {
bPoseChannel *pchan = (bPoseChannel *)ptr.data;
group = pchan->name;
}