mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Made virtual function begin with _, for consistency.
This was not yet used, anyway as no API is bound for this.
This commit is contained in:
@@ -299,7 +299,7 @@ StringName EditorProperty::get_edited_property() {
|
||||
|
||||
void EditorProperty::update_property() {
|
||||
if (get_script_instance())
|
||||
get_script_instance()->call("update_property");
|
||||
get_script_instance()->call("_update_property");
|
||||
}
|
||||
|
||||
void EditorProperty::set_read_only(bool p_read_only) {
|
||||
@@ -646,7 +646,7 @@ void EditorProperty::_gui_input(const Ref<InputEvent> &p_event) {
|
||||
|
||||
if (use_keying_next()) {
|
||||
call_deferred("emit_changed", property, object->get(property).operator int64_t() + 1, "", false);
|
||||
call_deferred("update_property");
|
||||
call_deferred("_update_property");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -823,7 +823,7 @@ void EditorProperty::_bind_methods() {
|
||||
ADD_SIGNAL(MethodInfo("selected", PropertyInfo(Variant::STRING, "path"), PropertyInfo(Variant::INT, "focusable_idx")));
|
||||
|
||||
MethodInfo vm;
|
||||
vm.name = "update_property";
|
||||
vm.name = "_update_property";
|
||||
BIND_VMETHOD(vm);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user