after12am / eisenscript

A programming language designed for generating awesome structures.
https://after12am.github.io/eisenscript-docs/
MIT License
46 stars 4 forks source link

triangle not working properly in editor but OK in docs #115

Open kronpano opened 3 years ago

kronpano commented 3 years ago
triangle
{x 2} box 

a very simple script gives an error in main.js 454 when you run it in the editor

but the same script is OK if run from the documentation editor https://after12am.github.io/eisenscript-docs/build/docs/reference-primitives#triangle

but when you try to share it from there the link points to the editor and it doesn't work

after12am commented 3 years ago

Great! You're very sharp!

It happened because doOptimize query parameter was missed.

I will fix it this weekend.

Thank you very much.