Merge pull request #96024 from Ryan-000/expose_get_rpc_config

Expose `get_rpc_config` and `get_node_rpc_config`
This commit is contained in:
Rémi Verschelde 2024-09-16 13:34:34 +02:00
commit 8ebfd89359
No known key found for this signature in database
GPG key ID: C3336907360768E1
12 changed files with 25 additions and 10 deletions

View file

@ -118,7 +118,7 @@ const SceneRPCInterface::RPCConfigCache &SceneRPCInterface::_get_node_config(con
return rpc_cache[oid];
}
RPCConfigCache cache;
_parse_rpc_config(p_node->get_node_rpc_config(), true, cache);
_parse_rpc_config(p_node->get_rpc_config(), true, cache);
if (p_node->get_script_instance()) {
_parse_rpc_config(p_node->get_script_instance()->get_rpc_config(), false, cache);
}