[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59785] trunk/blender/source/blender/ editors/animation/anim_channels_defines.c: Fix #36649: Drivers for Freestyle parameters in Render Layer panel don' t appear in Graph Editor.
Tamito Kajiyama
rd6t-kjym at asahi-net.or.jp
Wed Sep 4 00:49:30 CEST 2013
Revision: 59785
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59785
Author: kjym3
Date: 2013-09-03 22:49:30 +0000 (Tue, 03 Sep 2013)
Log Message:
-----------
Fix #36649: Drivers for Freestyle parameters in Render Layer panel don't appear in Graph Editor.
The channels define code in ANIM_init_channel_typeinfo_data() was not synchronized with the
definition of channel types (eAnim_ChannelType) in ED_anim_api.h.
Modified Paths:
--------------
trunk/blender/source/blender/editors/animation/anim_channels_defines.c
Modified: trunk/blender/source/blender/editors/animation/anim_channels_defines.c
===================================================================
--- trunk/blender/source/blender/editors/animation/anim_channels_defines.c 2013-09-03 22:39:21 UTC (rev 59784)
+++ trunk/blender/source/blender/editors/animation/anim_channels_defines.c 2013-09-03 22:49:30 UTC (rev 59785)
@@ -2781,6 +2781,9 @@
if (ACF_INIT) {
ACF_INIT = 0;
+ /* NOTE: need to keep the order of these synchronized with the definition of
+ * channel types (eAnim_ChannelType) in ED_anim_api.h
+ */
animchannelTypeInfo[type++] = NULL; /* None */
animchannelTypeInfo[type++] = NULL; /* AnimData */
animchannelTypeInfo[type++] = NULL; /* Special */
@@ -2808,8 +2811,8 @@
animchannelTypeInfo[type++] = &ACF_DSMESH; /* Mesh Channel */
animchannelTypeInfo[type++] = &ACF_DSTEX; /* Texture Channel */
animchannelTypeInfo[type++] = &ACF_DSLAT; /* Lattice Channel */
+ animchannelTypeInfo[type++] = &ACF_DSLINESTYLE; /* LineStyle Channel */
animchannelTypeInfo[type++] = &ACF_DSSPK; /* Speaker Channel */
- animchannelTypeInfo[type++] = &ACF_DSLINESTYLE; /* LineStyle Channel */
animchannelTypeInfo[type++] = &ACF_SHAPEKEY; /* ShapeKey */
More information about the Bf-blender-cvs
mailing list