Skip to content

Commit

Permalink
fix bug where not using --outHalDir option caused problems for some i…
Browse files Browse the repository at this point in the history
…nput paths
  • Loading branch information
glennhickey committed Jan 18, 2014
1 parent 07573b6 commit a79b3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lod/halLodInterpolate.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def main(argv=None):
if not os.path.isfile(args.hal):
raise RuntimeError("Input hal file %s not found" % args.hal)
if args.outHalDir is None:
args.outHalDir = os.path.dirname(args.hal)
args.outHalDir = os.path.dirname(os.path.abspath(args.hal))
if not os.path.isdir(args.outHalDir):
raise RuntimeError("Invalid output directory %s" % args.outHalDir)
assert args.scaleCorFac > 0
Expand Down

0 comments on commit a79b3fd

Please sign in to comment.