[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [52034] trunk/blender/source/blender/ blenkernel/intern/scene.c: Edits for consistency with other parts of code
Joshua Leung
aligorith at gmail.com
Fri Nov 9 10:57:40 CET 2012
Revision: 52034
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=52034
Author: aligorith
Date: 2012-11-09 09:57:35 +0000 (Fri, 09 Nov 2012)
Log Message:
-----------
Edits for consistency with other parts of code
For the record, AnimData vars should be named "adt", not "ad"
Modified Paths:
--------------
trunk/blender/source/blender/blenkernel/intern/scene.c
Modified: trunk/blender/source/blender/blenkernel/intern/scene.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/scene.c 2012-11-09 09:33:28 UTC (rev 52033)
+++ trunk/blender/source/blender/blenkernel/intern/scene.c 2012-11-09 09:57:35 UTC (rev 52034)
@@ -119,16 +119,16 @@
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);
}
}
More information about the Bf-blender-cvs
mailing list