summaryrefslogtreecommitdiff
path: root/scripts/content_tools
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2016-09-20 08:08:55 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2016-09-20 08:08:55 -0400
commit8df3092c8bf305893fba59710fedd179e7cdb7ad (patch)
tree2a2078a42b0a4478d7019839960dc077741999eb /scripts/content_tools
parent0ed6b643d3632d5b1672aaf39f9da0b9113331c5 (diff)
SL-455 - tweaks to skel_tool.py
Diffstat (limited to 'scripts/content_tools')
-rw-r--r--scripts/content_tools/skel_tool.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/content_tools/skel_tool.py b/scripts/content_tools/skel_tool.py
index 41546570e5..26f63326f1 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 @@ if __name__ == "__main__":
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()