[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33571] trunk/blender/source/blender/ editors/space_graph/graph_utils.c: Bugfix 25147
Ton Roosendaal
ton at blender.org
Thu Dec 9 17:15:51 CET 2010
Revision: 33571
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33571
Author: ton
Date: 2010-12-09 17:15:51 +0100 (Thu, 09 Dec 2010)
Log Message:
-----------
Bugfix 25147
Graph editor: operator poll for 'active curve' didn't check for
visibility flag, caused tool like ctrl+click to still work.
Modified Paths:
--------------
trunk/blender/source/blender/editors/space_graph/graph_utils.c
Modified: trunk/blender/source/blender/editors/space_graph/graph_utils.c
===================================================================
--- trunk/blender/source/blender/editors/space_graph/graph_utils.c 2010-12-09 15:49:05 UTC (rev 33570)
+++ trunk/blender/source/blender/editors/space_graph/graph_utils.c 2010-12-09 16:15:51 UTC (rev 33571)
@@ -208,6 +208,11 @@
/* free temp data... */
has_fcurve= ((ale->data) && (ale->type == ANIMTYPE_FCURVE));
+ if(has_fcurve) {
+ FCurve *fcu= (FCurve *)ale->data;
+ has_fcurve= (fcu->flag & FCURVE_VISIBLE)!=0;
+ }
+
MEM_freeN(ale);
/* return success */
More information about the Bf-blender-cvs
mailing list