Skip to content
Snippets Groups Projects
Commit 8df3092c authored by Brad Payne (Vir Linden)'s avatar Brad Payne (Vir Linden)
Browse files

SL-455 - tweaks to skel_tool.py

parent 0ed6b643
No related branches found
No related tags found
No related merge requests found
...@@ -252,8 +252,6 @@ def slider_info(ladtree,skeltree): ...@@ -252,8 +252,6 @@ def slider_info(ladtree,skeltree):
scale = float_tuple(b.get("scale","0 0 0")) scale = float_tuple(b.get("scale","0 0 0"))
offset = float_tuple(b.get("offset","0 0 0")) offset = float_tuple(b.get("offset","0 0 0"))
print " bone", b.get("name"), "scale", scale, "offset", offset print " bone", b.get("name"), "scale", scale, "offset", offset
print " scale",scale
print " offset",offset
scale_min = [value_min * s for s in scale] scale_min = [value_min * s for s in scale]
scale_max = [value_max * s for s in scale] scale_max = [value_max * s for s in scale]
offset_min = [value_min * t for t in offset] offset_min = [value_min * t for t in offset]
...@@ -446,7 +444,7 @@ def compare_skel_trees(atree,btree): ...@@ -446,7 +444,7 @@ def compare_skel_trees(atree,btree):
parser.add_argument("--list", action="store_true", help="list joint names") parser.add_argument("--list", action="store_true", help="list joint names")
parser.add_argument("--compare", help="alternate skeleton file to compare") parser.add_argument("--compare", help="alternate skeleton file to compare")
parser.add_argument("--slider_info", help="information about the lad file sliders and affected bones", action="store_true") parser.add_argument("--slider_info", help="information about the lad file sliders and affected bones", action="store_true")
parser.add_argument("infilename", help="name of a skel .xml file to input", default="avatar_skeleton.xml") parser.add_argument("infilename", nargs="?", help="name of a skel .xml file to input", default="avatar_skeleton.xml")
parser.add_argument("outfilename", nargs="?", help="name of a skel .xml file to output") parser.add_argument("outfilename", nargs="?", help="name of a skel .xml file to output")
args = parser.parse_args() args = parser.parse_args()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment