create3000 / titania

Titania X3D Editor
https://github.com/create3000/titania/wiki
GNU General Public License v3.0
39 stars 10 forks source link

PROTO default value of MFNode field being appended rather than overwritten. #113

Closed splace closed 5 years ago

splace commented 5 years ago

only sphere in x-ite/other browsers.

both cone and sphere in Titania

#VRML V2.0 utf8

PROTO MyGroup [
    field MFNode geom Shape {
        appearance Appearance {}
        geometry Cone {}
    }
]{
    Group {children IS geom}
}

PROTO MySphere [
]{
    MyGroup {
        geom Shape{
            appearance Appearance{} 
            geometry Sphere{}
        }
    }
}

MySphere {}
create3000 commented 5 years ago

Thank you for reporting this bug.

splace commented 5 years ago

confirmed fixed in flathub release