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:
authorJoshua Leung <aligorith@gmail.com>2009-02-28 12:58:58 +0300
committerJoshua Leung <aligorith@gmail.com>2009-02-28 12:58:58 +0300
commit6f7a43217bf4ecde8a74cf7f1de6a750016f1c34 (patch)
treee7757fef722cf9562814b00fb0bb078c10c47358 /source/blender/editors/space_outliner
parentbadbba7266cf27deaaf7e704b2b751d9023054a8 (diff)
2.5 - Various animation bugfixes
* When inserting keyframes, newly created groups are no longer created with expanded + active flags set. The former should work better and keep the views less crowded by default when there are many F-Curves. * Fixed crash when trying to select action groups. This only seemed to happen in one of the BBB files... * Settings that have been tagged in RNA as being un-animateable are now ignored when creating Keying Sets. * Removed some un-needed old code from keyframing code. I've still left in the old-style builtin KeyingSets from about 2.48, since those will be useful reference when setting up the new builtin KeyingSets. * Removed obsolete correction factor for Visual Keying -> object rotations.
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/editors/space_outliner/outliner.c b/source/blender/editors/space_outliner/outliner.c
index 3fb640e34ba..b513bf7066a 100644
--- a/source/blender/editors/space_outliner/outliner.c
+++ b/source/blender/editors/space_outliner/outliner.c
@@ -3249,9 +3249,12 @@ static void do_outliner_keyingset_editop(SpaceOops *soops, KeyingSet *ks, ListBa
short flag= 0;
short groupmode= KSP_GROUP_KSNAME;
- /* get id + path + index info from the selected element */
- tree_element_to_path(soops, te, tselem,
- &id, &path, &array_index, &flag, &groupmode);
+ /* check if RNA-property described by this selected element is an animateable prop */
+ if ((tselem->type == TSE_RNA_PROPERTY) && RNA_property_animateable(&te->rnaptr, te->directdata)) {
+ /* get id + path + index info from the selected element */
+ tree_element_to_path(soops, te, tselem,
+ &id, &path, &array_index, &flag, &groupmode);
+ }
/* only if ID and path were set, should we perform any actions */
if (id && path) {