Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2011-02-16 05:10:26 +0300
committerJoshua Leung <aligorith@gmail.com>2011-02-16 05:10:26 +0300
commit78c135d93efe758143d21f1808c0aa7d4d902c23 (patch)
treee19a31635ab02839e787683cb5494dfcacac1e65 /source/blender
parent7756da34c9256c5948a79435301c88a4b850cb3d (diff)
Fix for compiler warning: forgot to hook up a poll callback I defined
for unlinking PoseLib data
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/armature/poselib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/poselib.c b/source/blender/editors/armature/poselib.c
index bab19bb02bf..b160ad9b661 100644
--- a/source/blender/editors/armature/poselib.c
+++ b/source/blender/editors/armature/poselib.c
@@ -355,7 +355,7 @@ void POSELIB_OT_unlink (wmOperatorType *ot)
/* 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;