Skip to content

SceneTree::call_group_flags expects i64 as flag, not GroupCallFlags #185

Open
@kzerot

Description

@kzerot

SceneTree's method call_group_flags expects i64 as a flag, not the GroupCallFlags struct. Also, "ord" field is i32, not i64.
It's working, but syntax is not very obvious:

tree.call_group_flags(GroupCallFlags::GROUP_CALL_DEFERRED.ord().into() ,"group".into(), "method".into(), &[]) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: engineGodot classes (nodes, resources, ...)quality-of-lifeNo new functionality, but improves ergonomics/internalsstatus: upstreamDepending on upstream fix (typically Godot)

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions