mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Make conversions from NodePath to String explicit.
This commit is contained in:
parent
51b0379e55
commit
e2931a5c19
39 changed files with 99 additions and 99 deletions
|
|
@ -1631,7 +1631,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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue