Skip to content

roSGNode.update signature issues #1172

Description

@TwitchBronBron

I think we're missing an overloaded signature for the roSGNode.update function. This is valid syntax:

image

obj = CreateObject("roSGNode", "Group")
obj.update([{
    subtype: "Rectangle",
    width: "300",
    height: "400",
    translation: "[300,300]"
}, {
    subtype: "Rectangle",
    width: "300",
    height: "400",
    translation: "[300,300]"
}, {
    subtype: "Rectangle",
    width: "300",
    height: "400",
    translation: "[300,300]"
}, {
    subtype: "Rectangle",
    width: "300",
    height: "400",
    translation: "[300,300]"
}, {
    subtype: "Rectangle",
    width: "300",
    height: "400",
    translation: "[300,300]"
}, {
    subtype: "Rectangle",
    width: "300",
    height: "400",
    translation: "[300,300]"
}, {
    subtype: "Rectangle",
    width: "300",
    height: "400",
    translation: "[300,300]"
}, {
    subtype: "Rectangle",
    width: "300",
    height: "400",
    translation: "[300,300]"
}], true)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions