Skip to content

Commit 8c35d55

Browse files
committed
minor
1 parent 36499f7 commit 8c35d55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

genesis/engine/mesh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def from_morph_surface(cls, morph, surface=None):
343343
if morph.is_format(gs.options.morphs.MESH_FORMATS):
344344
meshes = mu.parse_mesh_trimesh(morph.file, morph.group_by_material, morph.scale, surface)
345345
elif morph.is_format(gs.options.morphs.GLTF_FORMATS):
346-
if not morph.parse_glb_with_trimesh:
346+
if not morph.parse_glb_with_zup:
347347
gs.logger.warning(
348348
"GLTF is using y-up while Genesis uses z-up. Please set parse_glb_with_zup=True"
349349
" in morph options if you find the mesh is 90-degree rotated. We will set parse_glb_with_zup=True"

0 commit comments

Comments
 (0)