Dear Joachim, thanks for the report,
F12 displays a warning "THREE.OrbitControls: As part of the transition to ES6 Modules, the files in 'examples/js' were deprecated in May 2020 (r117) and will be deleted in December 2020 (r124)...
these warnings can be ignored as we ship pre-r124 versions of those files. Transition to ES6 modules is planned but not done yet.
> "ReferenceError: Can't find variable: THREE"The reason for this error and the broken visualization is probably because the correct order in the minified js file got lost during the latest update.
As a quick check could you please try to fetch the polymake sources and run: cd polymake-4.3/external/js uglifyjs three.js OrbitControls.js Projector.js SVGRenderer.js \ TrackballControls.js WebGL.js -c -m -o /tmp/three.polymake.jsUse that /tmp/three.polymake.js file to replace the one from the polymake-common package at:
/usr/share/polymake/resources/threejs/js/three.polymake.jsIf that does help this can be fixed by a small change in debian/rules, moving three.js to the front of the JS variable: -JS:= OrbitControls.js Projector.js SVGRenderer.js three.js TrackballControls.js WebGL.js +JS:= three.js OrbitControls.js Projector.js SVGRenderer.js TrackballControls.js WebGL.js
Best, Benjamin
OpenPGP_signature
Description: OpenPGP digital signature