apla / atom-jscad

Previewing (J)SCAD 3D models inside Atom.
MIT License
29 stars 9 forks source link

Only first element of array is shown #10

Open feiteira opened 6 years ago

feiteira commented 6 years ago

The code below:

function main() {
    return [
         cube({size: 3, center: true}),
         sphere({r:2, center: false})]  
}

Should display both a cube and a sphere, however in Atom it shows only the cube.

matiasinsaurralde commented 6 years ago

Hi, can you provide an screenshot?

feiteira commented 6 years ago

Sure, you can find it below. image

On OpenJSCAD.org I get: image