mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2025-12-20 14:37:03 +01:00
typo
This commit is contained in:
@@ -192,7 +192,7 @@ class Server:
|
|||||||
if not isinstance(obj, TopoDS_Shape):
|
if not isinstance(obj, TopoDS_Shape):
|
||||||
raise ValueError(f'Cannot show object of type {type(obj)} (submit issue?)')
|
raise ValueError(f'Cannot show object of type {type(obj)} (submit issue?)')
|
||||||
|
|
||||||
# Convert Z-up (OCC convention) to Y-up (GLTF convention)
|
# Convert Z-up (OCCT convention) to Y-up (GLTF convention)
|
||||||
obj = Shape(obj).rotate(Axis.X, -90).wrapped
|
obj = Shape(obj).rotate(Axis.X, -90).wrapped
|
||||||
|
|
||||||
self._show_common(name, _hashcode(obj), start, obj)
|
self._show_common(name, _hashcode(obj), start, obj)
|
||||||
|
|||||||
Reference in New Issue
Block a user