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>2012-11-09 13:57:35 +0400
committerJoshua Leung <aligorith@gmail.com>2012-11-09 13:57:35 +0400
commit98e60b2f43a20dd206994aa62f04254badcfb98c (patch)
tree4ec720ac837756f6f515f05e0fe421367e1be892
parent2bb174cfa40af730f16785884e0f74e58b627065 (diff)
Edits for consistency with other parts of code
For the record, AnimData vars should be named "adt", not "ad"
-rw-r--r--source/blender/blenkernel/intern/scene.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c
index edd880238ca..bb045a3cfd2 100644
--- a/source/blender/blenkernel/intern/scene.c
+++ b/source/blender/blenkernel/intern/scene.c
@@ -119,16 +119,16 @@ void free_qtcodecdata(QuicktimeCodecData *qcd)
static void remove_sequencer_fcurves(Scene *sce)
{
- AnimData *ad = BKE_animdata_from_id(&sce->id);
+ AnimData *adt = BKE_animdata_from_id(&sce->id);
- if (ad && ad->action) {
+ if (adt && adt->action) {
FCurve *fcu, *nextfcu;
-
- for (fcu = ad->action->curves.first; fcu; fcu = nextfcu) {
+
+ for (fcu = adt->action->curves.first; fcu; fcu = nextfcu) {
nextfcu = fcu->next;
-
+
if ((fcu->rna_path) && strstr(fcu->rna_path, "sequences_all")) {
- action_groups_remove_channel(ad->action, fcu);
+ action_groups_remove_channel(adt->action, fcu);
free_fcurve(fcu);
}
}