SceneTree::call_group_flags expects i64 as flag, not GroupCallFlags · Issue #185 · godot-rust/gdext (original) (raw)

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(), &[])