Revision: 16584 http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16584 Author: theeth Date: 2008-09-17 23:20:08 +0200 (Wed, 17 Sep 2008)
Log Message: ----------- Group some functions as they should have been Modified Paths: -------------- branches/harmonic-skeleton/source/blender/src/autoarmature.c Modified: branches/harmonic-skeleton/source/blender/src/autoarmature.c =================================================================== --- branches/harmonic-skeleton/source/blender/src/autoarmature.c 2008-09-17 21:14:48 UTC (rev 16583) +++ branches/harmonic-skeleton/source/blender/src/autoarmature.c 2008-09-17 21:20:08 UTC (rev 16584) @@ -308,6 +308,8 @@ BLI_ghash_free(((RigGraph*)rg)->bones_map, NULL, NULL); BLI_ghash_free(((RigGraph*)rg)->controls_map, NULL, NULL); + BLI_freelistN(((RigGraph*)rg)->editbones); + MEM_freeN(rg); } @@ -2816,6 +2818,9 @@ //generateMissingArcs(rigg); + /* Turn the list into an armature */ + editbones_to_armature(rigg->editbones, rigg->ob); + #ifdef USE_THREADS BLI_destroy_worker(rigg->worker); #endif @@ -2879,11 +2884,6 @@ end_time = PIL_check_seconds_timer(); retarget_time = end_time - start_time; - /* Turn the list into an armature */ - editbones_to_armature(&list, ob); - - BLI_freelistN(&list); - RIG_freeRigGraph((BGraph*)rigg); } } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs