Commit f49a32e7 authored by norvell's avatar norvell
Browse files

Fix for NULL metadata in scene description

parent 18e61b53
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -561,7 +561,7 @@ def scene_description_file(in_fmt, metadata_tmp, n_obj, input_file, in_meta_file
        fp_meta.write(f"{n_obj+1}\n")  # Number of sources
        for n in range(0, n_obj):
            if in_meta_files[n] == "NULL":
                md_file = "NULL"
                md_file = "1\n1,0,0" # NULL metadata position: azim=0,elev=0 for 1 frame, looped throughout all frames.
            else:
                md_file = os.path.relpath(in_meta_files[n], currdir)
            fp_meta.write(