diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-02-16 05:10:26 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-02-16 05:10:26 +0300 |
commit | 78c135d93efe758143d21f1808c0aa7d4d902c23 (patch) | |
tree | e19a31635ab02839e787683cb5494dfcacac1e65 /source | |
parent | 7756da34c9256c5948a79435301c88a4b850cb3d (diff) |
Fix for compiler warning: forgot to hook up a poll callback I defined
for unlinking PoseLib data
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/armature/poselib.c | 2 |
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; |