You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-21 14:57:09 +00:00
Add check in folding to see if the nodepath exists to avoid message spam.
This commit is contained in:
@@ -173,7 +173,7 @@ void EditorFolding::load_scene_folding(Node *p_scene, const String &p_path) {
|
||||
for (int i = 0; i < unfolds.size(); i += 2) {
|
||||
NodePath path = unfolds[i];
|
||||
PoolVector<String> un = unfolds[i + 1];
|
||||
Node *node = p_scene->get_node(path);
|
||||
Node *node = p_scene->get_node_or_null(path);
|
||||
if (!node) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user