[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34888] trunk/blender/source/blender/ editors/armature/poselib.c: Fix for compiler warning: forgot to hook up a poll callback I defined

Joshua Leung aligorith at gmail.com
Wed Feb 16 03:10:28 CET 2011


Revision: 34888
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34888
Author:   aligorith
Date:     2011-02-16 02:10:26 +0000 (Wed, 16 Feb 2011)
Log Message:
-----------
Fix for compiler warning: forgot to hook up a poll callback I defined
for unlinking PoseLib data

Modified Paths:
--------------
    trunk/blender/source/blender/editors/armature/poselib.c

Modified: trunk/blender/source/blender/editors/armature/poselib.c
===================================================================
--- trunk/blender/source/blender/editors/armature/poselib.c	2011-02-16 02:05:41 UTC (rev 34887)
+++ trunk/blender/source/blender/editors/armature/poselib.c	2011-02-16 02:10:26 UTC (rev 34888)
@@ -355,7 +355,7 @@
 	
 	/* callbacks */
 	ot->exec = poselib_unlink_exec;
-	ot->poll= ED_operator_posemode; // TODO: this here should require that a poselib exists!
+	ot->poll= poselib_unlink_poll;
 	
 	/* flags */
 	ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;




More information about the Bf-blender-cvs mailing list