You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Make conversions from NodePath to String explicit.
This commit is contained in:
@@ -340,7 +340,7 @@ void ReplicationEditor::_drop_data_fw(const Point2 &p_point, const Variant &p_da
|
||||
return;
|
||||
}
|
||||
|
||||
String path = root->get_path_to(node);
|
||||
String path = String(root->get_path_to(node));
|
||||
path += ":" + String(d["property"]);
|
||||
|
||||
_add_sync_property(path);
|
||||
@@ -390,7 +390,7 @@ void ReplicationEditor::_add_pressed() {
|
||||
return;
|
||||
}
|
||||
|
||||
_add_sync_property(path);
|
||||
_add_sync_property(String(path));
|
||||
}
|
||||
|
||||
void ReplicationEditor::_np_text_submitted(const String &p_newtext) {
|
||||
|
||||
Reference in New Issue
Block a user