Skip to content

Commit 7876fc8

Browse files
committed
Merge remote-tracking branch 'yliu/omniverse-tutorial' into omniverse-tutorial
2 parents 938e5e4 + 2e2aa3a commit 7876fc8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

modules/omniverse/omniverse_integration.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
"\n",
123123
"import vtk\n",
124124
"import vtkmodules\n",
125+
"\n",
125126
"# from ipyvtklink.viewer import ViewInteractiveWidget\n",
126127
"\n",
127128
"from utility import convert_to_mesh, convert_mesh_to_usd\n",

modules/omniverse/utility.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ def convert_to_mesh(
142142
writer.Write()
143143

144144
print(f"Mesh successfully exported to {output_filename}")
145-
145+
146146
if len(label_values.keys()) > 1:
147-
# Modify GLTF to include actor names
147+
# Modify GLTF to include actor names
148148
with open(output_filename, "r") as f:
149149
gltf_data = json.load(f)
150150

0 commit comments

Comments
 (0)