You've already forked godot
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:
@@ -166,7 +166,7 @@ void EditorPropertyRootMotion::_node_clear() {
|
||||
|
||||
void EditorPropertyRootMotion::update_property() {
|
||||
NodePath p = get_edited_property_value();
|
||||
assign->set_tooltip_text(p);
|
||||
assign->set_tooltip_text(String(p));
|
||||
if (p == NodePath()) {
|
||||
assign->set_button_icon(Ref<Texture2D>());
|
||||
assign->set_text(TTR("Assign..."));
|
||||
@@ -175,7 +175,7 @@ void EditorPropertyRootMotion::update_property() {
|
||||
}
|
||||
|
||||
assign->set_button_icon(Ref<Texture2D>());
|
||||
assign->set_text(p);
|
||||
assign->set_text(String(p));
|
||||
}
|
||||
|
||||
void EditorPropertyRootMotion::setup(const NodePath &p_base_hint) {
|
||||
|
||||
Reference in New Issue
Block a user