mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-29 04:20:10 +08:00
patch for mkdirs on camera path json filepath (#2502)
fix camera path json mkdir in viewer beta
This commit is contained in:
1 parent
81db1808a7
commit
1b85fb528b
1 file changed
+1
@@ -625,6 +625,7 @@ def populate_render_tab(
|
||||
|
||||
# now write the json file
|
||||
json_outfile = datapath / "camera_paths" / f"{render_name_text.value}.json"
|
||||
json_outfile.parent.mkdir(parents=True, exist_ok=True)
|
||||
with open(json_outfile.absolute(), "w") as outfile:
|
||||
json.dump(json_data, outfile)
|
||||
# now show the command
|
||||
|
||||
Reference in new issue
Block a user