Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 11, 2024
1 parent 25d1ce2 commit 2e2aa3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions modules/omniverse/omniverse_integration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
"\n",
"import vtk\n",
"import vtkmodules\n",
"\n",
"# from ipyvtklink.viewer import ViewInteractiveWidget\n",
"\n",
"from utility import convert_to_mesh, convert_mesh_to_usd\n",
Expand Down
4 changes: 2 additions & 2 deletions modules/omniverse/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ def convert_to_mesh(
writer.Write()

print(f"Mesh successfully exported to {output_filename}")

if len(label_values.keys()) > 1:
# Modify GLTF to include actor names
# Modify GLTF to include actor names
with open(output_filename, "r") as f:
gltf_data = json.load(f)

Expand Down

0 comments on commit 2e2aa3a

Please sign in to comment.