Skip to content

Commit

Permalink
fix(util): rfluxmtx
Browse files Browse the repository at this point in the history
  • Loading branch information
taoning committed Jul 22, 2024
1 parent 0537938 commit 2023c57
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyradiance/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,10 @@ def rfluxmtx(
if octree is not None:
cmd.extend(["-i", str(octree)])
if scene is not None:
cmd.extend(f"'{str(s)}'" for s in scene)
if sys.platform == "win32":
cmd.extend(f"'{str(s)}'" for s in scene)
else:
cmd.extend(str(s) for s in scene)
return sp.run(cmd, check=True, stdout=sp.PIPE, input=rays).stdout


Expand Down

0 comments on commit 2023c57

Please sign in to comment.