You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Merge pull request #107408 from Ivorforce/node-path-string-explicit
Make conversions from `NodePath` to `String` explicit.
This commit is contained in:
@@ -1634,7 +1634,7 @@ void Node3DEditorViewport::_list_select(Ref<InputEventMouseButton> b) {
|
||||
|
||||
Ref<Texture2D> icon = EditorNode::get_singleton()->get_object_icon(spat, "Node");
|
||||
|
||||
String node_path = "/" + root_name + "/" + root_path.rel_path_to(spat->get_path());
|
||||
String node_path = "/" + root_name + "/" + String(root_path.rel_path_to(spat->get_path()));
|
||||
|
||||
int locked = 0;
|
||||
if (_is_node_locked(spat)) {
|
||||
|
||||
Reference in New Issue
Block a user