Skip to content

Commit

Permalink
Merge pull request #8 from nh2/fix-wrong-args-types
Browse files Browse the repository at this point in the history
Fix incorrect argparse types for --output and --material
  • Loading branch information
theFroh authored Aug 7, 2020
2 parents 2f5a405 + 611582f commit 823300f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions objuvpacker.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def guess_realpath(path):
def main():
parser = argparse.ArgumentParser(description="Naively pokes obj+mtls")
parser.add_argument("obj", help="path to the .obj file")
parser.add_argument("-m", "--material", nargs=1, help="path to the .mtl file")
parser.add_argument("-o","--output", nargs=1, help="output name, used for image and folder")
parser.add_argument("-m", "--material", help="path to the .mtl file")
parser.add_argument("-o","--output", help="output name, used for image and folder")
parser.add_argument("-a","--add", nargs="+", help="any additional images to pack")

parser.add_argument('--no-crop', dest='crop', action='store_false', help="do not attempt to crop textures to just what is used")
Expand Down

0 comments on commit 823300f

Please sign in to comment.