[Bf-blender-cvs] [e6e78a1] master: Bugfix T41527: Animations of world texture properties invisible in anim editors

Joshua Leung noreply at git.blender.org
Fri Nov 21 12:56:07 CET 2014


Commit: e6e78a143e0669a0da2c6ca2ae1d18f0f1c9caba
Author: Joshua Leung
Date:   Sat Nov 22 00:55:57 2014 +1300
Branches: master
https://developer.blender.org/rBe6e78a143e0669a0da2c6ca2ae1d18f0f1c9caba

Bugfix T41527: Animations of world texture properties invisible in anim editors

Was caused by a typo - "items" was used in place of "tmp_items", causing animation
in the texture to get ignored if nothing else was present

===================================================================

M	source/blender/editors/animation/anim_filter.c

===================================================================

diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c
index cedaea7..3493fb1 100644
--- a/source/blender/editors/animation/anim_filter.c
+++ b/source/blender/editors/animation/anim_filter.c
@@ -2257,7 +2257,7 @@ static size_t animdata_filter_ds_world(bAnimContext *ac, ListBase *anim_data, bD
 		
 		/* textures for world */
 		if (!(ads->filterflag & ADS_FILTER_NOTEX))
-			items += animdata_filter_ds_textures(ac, &tmp_data, ads, (ID *)wo, filter_mode);
+			tmp_items += animdata_filter_ds_textures(ac, &tmp_data, ads, (ID *)wo, filter_mode);
 			
 		/* nodes */
 		if ((wo->nodetree) && !(ads->filterflag & ADS_FILTER_NONTREE))




More information about the Bf-blender-cvs mailing list