diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-03-21 02:11:44 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-03-21 02:11:44 +0300 |
commit | 90a58790b24a7e0303f890f054ae7f730e242491 (patch) | |
tree | 26f2ee54b4e1903f5b7ebde1fa13f36bb9289aa2 /source/blender/editors/armature/editarmature_retarget.c | |
parent | 1af7bd439acf4dd08f7c0f66d91ef2238ff1db05 (diff) |
Compiling fix for etch-a-ton commit - I've moved BIF_freeRetarget() to be before the single place that seems to use it.
Diffstat (limited to 'source/blender/editors/armature/editarmature_retarget.c')
-rw-r--r-- | source/blender/editors/armature/editarmature_retarget.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/editors/armature/editarmature_retarget.c b/source/blender/editors/armature/editarmature_retarget.c index 37ffb9f5f29..5fc8d52ffef 100644 --- a/source/blender/editors/armature/editarmature_retarget.c +++ b/source/blender/editors/armature/editarmature_retarget.c @@ -2809,6 +2809,15 @@ int RIG_nbJoints(RigGraph *rg) return total; } +void BIF_freeRetarget() +{ + if (GLOBAL_RIGG) + { + RIG_freeRigGraph((BGraph*)GLOBAL_RIGG); + GLOBAL_RIGG = NULL; + } +} + void BIF_retargetArmature(bContext *C) { ReebGraph *reebg; @@ -2950,12 +2959,3 @@ void BIF_adjustRetarget(bContext *C) adjustGraphs(C, GLOBAL_RIGG); } } - -void BIF_freeRetarget() -{ - if (GLOBAL_RIGG) - { - RIG_freeRigGraph((BGraph*)GLOBAL_RIGG); - GLOBAL_RIGG = NULL; - } -} |