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
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue