From 8df3092c8bf305893fba59710fedd179e7cdb7ad Mon Sep 17 00:00:00 2001 From: "Brad Payne (Vir Linden)" <vir@lindenlab.com> Date: Tue, 20 Sep 2016 08:08:55 -0400 Subject: [PATCH] SL-455 - tweaks to skel_tool.py --- scripts/content_tools/skel_tool.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/content_tools/skel_tool.py b/scripts/content_tools/skel_tool.py index 41546570e53..26f63326f1d 100644 --- a/scripts/content_tools/skel_tool.py +++ b/scripts/content_tools/skel_tool.py @@ -252,8 +252,6 @@ def slider_info(ladtree,skeltree): scale = float_tuple(b.get("scale","0 0 0")) offset = float_tuple(b.get("offset","0 0 0")) 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_max = [value_max * s for s in scale] offset_min = [value_min * t for t in offset] @@ -446,7 +444,7 @@ def compare_skel_trees(atree,btree): parser.add_argument("--list", action="store_true", help="list joint names") 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("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") args = parser.parse_args() -- GitLab