| 1079 | } |
| 1080 | |
| 1081 | void LiveEditor::_node_set_res_func(int p_id, const StringName &p_prop, const String &p_value) { |
| 1082 | Ref<Resource> r = ResourceLoader::load(p_value); |
| 1083 | if (r.is_null()) { |
| 1084 | return; |
| 1085 | } |
| 1086 | _node_set_func(p_id, p_prop, r); |
| 1087 | } |
| 1088 | |
| 1089 | void LiveEditor::_node_call_func(int p_id, const StringName &p_method, const Variant **p_args, int p_argcount) { |
| 1090 | SceneTree *scene_tree = SceneTree::get_singleton(); |
no test coverage detected