JonStargaryen 4 éve
szülő
commit
ecdfe44ea3
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      src/viewer/index.ts

+ 1 - 0
src/viewer/index.ts

@@ -142,6 +142,7 @@ export class Viewer {
             }),
         }
 
+        this.plugin.init();
         ReactDOM.render(React.createElement(Plugin, { plugin: this.plugin }), target)
 
         const renderer = this.plugin.canvas3d!.props.renderer;