Falko Schindler 1 anno fa
parent
commit
0d636e6126
2 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 1
      nicegui/elements/scene.py
  2. 0 1
      npm.py

+ 1 - 1
nicegui/elements/scene.py

@@ -48,6 +48,7 @@ class Scene(Element,
     from .scene_objects import Curve as curve
     from .scene_objects import Cylinder as cylinder
     from .scene_objects import Extrusion as extrusion
+    from .scene_objects import Gltf as gltf
     from .scene_objects import Group as group
     from .scene_objects import Line as line
     from .scene_objects import PointCloud as point_cloud
@@ -56,7 +57,6 @@ class Scene(Element,
     from .scene_objects import Sphere as sphere
     from .scene_objects import SpotLight as spot_light
     from .scene_objects import Stl as stl
-    from .scene_objects import Gltf as gltf
     from .scene_objects import Text as text
     from .scene_objects import Text3d as text3d
     from .scene_objects import Texture as texture

+ 0 - 1
npm.py

@@ -117,7 +117,6 @@ for key, dependency in dependencies.items():
             Path(tmp, key, extracted.name).rename(newfile)
 
             if 'GLTFLoader' in filename:
-                print(newfile, flush=True)
                 content = newfile.read_text()
                 MSG = '../utils/BufferGeometryUtils.js'
                 if MSG not in content: