3D Beetle does not initialize properly.
Steps to reproduce
- Fresh Snap instance
- Load the 3D Beetle Geometry library
- Open a project containing 3DB blocks, say a (beetle view)
- Library blocks does not work
- Until you press the [Open 3D Window]
The library is auto-initialized at project load by the libraries/beetle/init.js
But the true initialization is inlined into beetle.js as an IIFE.
// Initialize the extension
(function() {
beetle.js is cached and loaded only once.
Initialization should be explicitly called at every init.js load.
Or loading a new project should reset extensions state.
Reported by the user on the forum
3D Beetle does not initialize properly.
Steps to reproduce
The library is auto-initialized at project load by the
libraries/beetle/init.jsBut the true initialization is inlined into
beetle.jsas an IIFE.beetle.jsis cached and loaded only once.Initialization should be explicitly called at every
init.jsload.Or loading a new project should reset extensions state.
Reported by the user on the forum