diff options
author | Martin Poirier <theeth@yahoo.com> | 2008-08-20 02:16:01 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2008-08-20 02:16:01 +0400 |
commit | a3337a15f08fdc4d0f57ada8edb73b1f63a093a3 (patch) | |
tree | 38bd2c18899ef3665adc26ed50778894c7c370d6 /source/blender/blenlib/BLI_graph.h | |
parent | 18bce23a6052540c2ded4bdc548f83106c71c117 (diff) |
Control bone commit from yesterday broke root bones. This is now fixed in a much more elegant way.
Remove yeh ol' primary symmetry axis flipping and replace by a smarter check on both armature and mesh arcs (works better for partial retargetting).
Diffstat (limited to 'source/blender/blenlib/BLI_graph.h')
-rw-r--r-- | source/blender/blenlib/BLI_graph.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_graph.h b/source/blender/blenlib/BLI_graph.h index 0f75701a284..160c2e04cf5 100644 --- a/source/blender/blenlib/BLI_graph.h +++ b/source/blender/blenlib/BLI_graph.h @@ -93,7 +93,9 @@ float BLI_subtreeLength(BNode *node); void BLI_calcGraphLength(BGraph *graph); void BLI_replaceNode(BGraph *graph, BNode *node_src, BNode *node_replaced); +void BLI_replaceNodeInArc(BGraph *graph, BArc *arc, BNode *node_src, BNode *node_replaced); void BLI_removeDoubleNodes(BGraph *graph, float limit); +BNode * BLI_FindNodeByPosition(BGraph *graph, float *p, float limit); BArc * BLI_findConnectedArc(BGraph *graph, BArc *arc, BNode *v); |