[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [19343] branches/blender2.5/blender/source /blender/editors/armature/editarmature_retarget.c: Compiling fix for etch-a-ton commit - I've moved BIF_freeRetarget() to be before the single place that seems to use it.
Joshua Leung
aligorith at gmail.com
Sat Mar 21 00:11:49 CET 2009
Revision: 19343
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19343
Author: aligorith
Date: 2009-03-21 00:11:44 +0100 (Sat, 21 Mar 2009)
Log Message:
-----------
Compiling fix for etch-a-ton commit - I've moved BIF_freeRetarget() to be before the single place that seems to use it.
Modified Paths:
--------------
branches/blender2.5/blender/source/blender/editors/armature/editarmature_retarget.c
Modified: branches/blender2.5/blender/source/blender/editors/armature/editarmature_retarget.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/armature/editarmature_retarget.c 2009-03-20 22:55:07 UTC (rev 19342)
+++ branches/blender2.5/blender/source/blender/editors/armature/editarmature_retarget.c 2009-03-20 23:11:44 UTC (rev 19343)
@@ -2809,6 +2809,15 @@
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 @@
adjustGraphs(C, GLOBAL_RIGG);
}
}
-
-void BIF_freeRetarget()
-{
- if (GLOBAL_RIGG)
- {
- RIG_freeRigGraph((BGraph*)GLOBAL_RIGG);
- GLOBAL_RIGG = NULL;
- }
-}
More information about the Bf-blender-cvs
mailing list