1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Make conversions from NodePath to String explicit.

This commit is contained in:
Lukas Tenbrink
2025-06-11 16:19:23 +02:00
parent 51b0379e55
commit e2931a5c19
39 changed files with 99 additions and 99 deletions

View File

@@ -546,7 +546,7 @@ void MeshInstance3DEditor::_create_outline_mesh() {
Node *skeleton = node->get_node_or_null(node->get_skeleton_path());
if (skeleton && node->get_skin().is_valid()) {
mi->set_skin(node->get_skin());
mi->set_skeleton_path("../" + node->get_path_to(skeleton));
mi->set_skeleton_path("../" + String(node->get_path_to(skeleton)));
}
Node *owner = get_tree()->get_edited_scene_root();