mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Remove empty bind_methods()
This commit is contained in:
@@ -129,9 +129,6 @@ void EditorPropertyText::set_placeholder(const String &p_string) {
|
||||
text->set_placeholder(p_string);
|
||||
}
|
||||
|
||||
void EditorPropertyText::_bind_methods() {
|
||||
}
|
||||
|
||||
EditorPropertyText::EditorPropertyText() {
|
||||
HBoxContainer *hb = memnew(HBoxContainer);
|
||||
add_child(hb);
|
||||
@@ -219,9 +216,6 @@ void EditorPropertyMultilineText::_notification(int p_what) {
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPropertyMultilineText::_bind_methods() {
|
||||
}
|
||||
|
||||
EditorPropertyMultilineText::EditorPropertyMultilineText(bool p_expression) {
|
||||
HBoxContainer *hb = memnew(HBoxContainer);
|
||||
hb->add_theme_constant_override("separation", 0);
|
||||
@@ -343,9 +337,6 @@ void EditorPropertyTextEnum::setup(const Vector<String> &p_options, bool p_strin
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPropertyTextEnum::_bind_methods() {
|
||||
}
|
||||
|
||||
void EditorPropertyTextEnum::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_ENTER_TREE:
|
||||
@@ -447,9 +438,6 @@ void EditorPropertyLocale::_locale_focus_exited() {
|
||||
_locale_selected(locale->get_text());
|
||||
}
|
||||
|
||||
void EditorPropertyLocale::_bind_methods() {
|
||||
}
|
||||
|
||||
EditorPropertyLocale::EditorPropertyLocale() {
|
||||
HBoxContainer *locale_hb = memnew(HBoxContainer);
|
||||
add_child(locale_hb);
|
||||
@@ -586,9 +574,6 @@ bool EditorPropertyPath::_can_drop_data_fw(const Point2 &p_point, const Variant
|
||||
return false;
|
||||
}
|
||||
|
||||
void EditorPropertyPath::_bind_methods() {
|
||||
}
|
||||
|
||||
EditorPropertyPath::EditorPropertyPath() {
|
||||
HBoxContainer *path_hb = memnew(HBoxContainer);
|
||||
add_child(path_hb);
|
||||
@@ -637,9 +622,6 @@ void EditorPropertyClassName::_dialog_created() {
|
||||
update_property();
|
||||
}
|
||||
|
||||
void EditorPropertyClassName::_bind_methods() {
|
||||
}
|
||||
|
||||
EditorPropertyClassName::EditorPropertyClassName() {
|
||||
property = memnew(Button);
|
||||
property->set_clip_text(true);
|
||||
@@ -669,9 +651,6 @@ void EditorPropertyCheck::update_property() {
|
||||
checkbox->set_disabled(is_read_only());
|
||||
}
|
||||
|
||||
void EditorPropertyCheck::_bind_methods() {
|
||||
}
|
||||
|
||||
EditorPropertyCheck::EditorPropertyCheck() {
|
||||
checkbox = memnew(CheckBox);
|
||||
checkbox->set_text(TTR("On"));
|
||||
@@ -725,9 +704,6 @@ void EditorPropertyEnum::set_option_button_clip(bool p_enable) {
|
||||
options->set_clip_text(p_enable);
|
||||
}
|
||||
|
||||
void EditorPropertyEnum::_bind_methods() {
|
||||
}
|
||||
|
||||
EditorPropertyEnum::EditorPropertyEnum() {
|
||||
options = memnew(OptionButton);
|
||||
options->set_clip_text(true);
|
||||
@@ -804,9 +780,6 @@ void EditorPropertyFlags::setup(const Vector<String> &p_options) {
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPropertyFlags::_bind_methods() {
|
||||
}
|
||||
|
||||
EditorPropertyFlags::EditorPropertyFlags() {
|
||||
vbox = memnew(VBoxContainer);
|
||||
add_child(vbox);
|
||||
@@ -1280,9 +1253,6 @@ void EditorPropertyLayers::_refresh_names() {
|
||||
setup(layer_type);
|
||||
}
|
||||
|
||||
void EditorPropertyLayers::_bind_methods() {
|
||||
}
|
||||
|
||||
EditorPropertyLayers::EditorPropertyLayers() {
|
||||
HBoxContainer *hb = memnew(HBoxContainer);
|
||||
hb->set_clip_contents(true);
|
||||
@@ -1330,9 +1300,6 @@ void EditorPropertyInteger::update_property() {
|
||||
#endif
|
||||
}
|
||||
|
||||
void EditorPropertyInteger::_bind_methods() {
|
||||
}
|
||||
|
||||
void EditorPropertyInteger::setup(int64_t p_min, int64_t p_max, int64_t p_step, bool p_hide_slider, bool p_allow_greater, bool p_allow_lesser, const String &p_suffix) {
|
||||
spin->set_min(p_min);
|
||||
spin->set_max(p_max);
|
||||
@@ -1385,9 +1352,6 @@ void EditorPropertyObjectID::setup(const String &p_base_type) {
|
||||
base_type = p_base_type;
|
||||
}
|
||||
|
||||
void EditorPropertyObjectID::_bind_methods() {
|
||||
}
|
||||
|
||||
EditorPropertyObjectID::EditorPropertyObjectID() {
|
||||
edit = memnew(Button);
|
||||
add_child(edit);
|
||||
@@ -1413,9 +1377,6 @@ void EditorPropertySignal::update_property() {
|
||||
edit->set_icon(get_editor_theme_icon(SNAME("Signals")));
|
||||
}
|
||||
|
||||
void EditorPropertySignal::_bind_methods() {
|
||||
}
|
||||
|
||||
EditorPropertySignal::EditorPropertySignal() {
|
||||
edit = memnew(Button);
|
||||
add_child(edit);
|
||||
@@ -1435,9 +1396,6 @@ void EditorPropertyCallable::update_property() {
|
||||
edit->set_icon(get_editor_theme_icon(SNAME("Callable")));
|
||||
}
|
||||
|
||||
void EditorPropertyCallable::_bind_methods() {
|
||||
}
|
||||
|
||||
EditorPropertyCallable::EditorPropertyCallable() {
|
||||
edit = memnew(Button);
|
||||
add_child(edit);
|
||||
@@ -1465,9 +1423,6 @@ void EditorPropertyFloat::update_property() {
|
||||
spin->set_value_no_signal(val);
|
||||
}
|
||||
|
||||
void EditorPropertyFloat::_bind_methods() {
|
||||
}
|
||||
|
||||
void EditorPropertyFloat::setup(double p_min, double p_max, double p_step, bool p_hide_slider, bool p_exp_range, bool p_greater, bool p_lesser, const String &p_suffix, bool p_radians_as_degrees) {
|
||||
radians_as_degrees = p_radians_as_degrees;
|
||||
spin->set_min(p_min);
|
||||
@@ -1675,9 +1630,6 @@ void EditorPropertyEasing::_notification(int p_what) {
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPropertyEasing::_bind_methods() {
|
||||
}
|
||||
|
||||
EditorPropertyEasing::EditorPropertyEasing() {
|
||||
easing_draw = memnew(Control);
|
||||
easing_draw->connect(SceneStringName(draw), callable_mp(this, &EditorPropertyEasing::_draw_easing));
|
||||
@@ -1740,9 +1692,6 @@ void EditorPropertyRect2::_notification(int p_what) {
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPropertyRect2::_bind_methods() {
|
||||
}
|
||||
|
||||
void EditorPropertyRect2::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
||||
for (int i = 0; i < 4; i++) {
|
||||
spin[i]->set_min(p_min);
|
||||
@@ -1837,9 +1786,6 @@ void EditorPropertyRect2i::_notification(int p_what) {
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPropertyRect2i::_bind_methods() {
|
||||
}
|
||||
|
||||
void EditorPropertyRect2i::setup(int p_min, int p_max, const String &p_suffix) {
|
||||
for (int i = 0; i < 4; i++) {
|
||||
spin[i]->set_min(p_min);
|
||||
@@ -1933,9 +1879,6 @@ void EditorPropertyPlane::_notification(int p_what) {
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPropertyPlane::_bind_methods() {
|
||||
}
|
||||
|
||||
void EditorPropertyPlane::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
||||
for (int i = 0; i < 4; i++) {
|
||||
spin[i]->set_min(p_min);
|
||||
@@ -2085,9 +2028,6 @@ void EditorPropertyQuaternion::_notification(int p_what) {
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPropertyQuaternion::_bind_methods() {
|
||||
}
|
||||
|
||||
void EditorPropertyQuaternion::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix, bool p_hide_editor) {
|
||||
for (int i = 0; i < 4; i++) {
|
||||
spin[i]->set_min(p_min);
|
||||
@@ -2232,9 +2172,6 @@ void EditorPropertyAABB::_notification(int p_what) {
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPropertyAABB::_bind_methods() {
|
||||
}
|
||||
|
||||
void EditorPropertyAABB::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
||||
for (int i = 0; i < 6; i++) {
|
||||
spin[i]->set_min(p_min);
|
||||
@@ -2313,9 +2250,6 @@ void EditorPropertyTransform2D::_notification(int p_what) {
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPropertyTransform2D::_bind_methods() {
|
||||
}
|
||||
|
||||
void EditorPropertyTransform2D::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
||||
for (int i = 0; i < 6; i++) {
|
||||
spin[i]->set_min(p_min);
|
||||
@@ -2398,9 +2332,6 @@ void EditorPropertyBasis::_notification(int p_what) {
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPropertyBasis::_bind_methods() {
|
||||
}
|
||||
|
||||
void EditorPropertyBasis::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
||||
for (int i = 0; i < 9; i++) {
|
||||
spin[i]->set_min(p_min);
|
||||
@@ -2490,9 +2421,6 @@ void EditorPropertyTransform3D::_notification(int p_what) {
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPropertyTransform3D::_bind_methods() {
|
||||
}
|
||||
|
||||
void EditorPropertyTransform3D::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
||||
for (int i = 0; i < 12; i++) {
|
||||
spin[i]->set_min(p_min);
|
||||
@@ -2590,9 +2518,6 @@ void EditorPropertyProjection::_notification(int p_what) {
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPropertyProjection::_bind_methods() {
|
||||
}
|
||||
|
||||
void EditorPropertyProjection::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
||||
for (int i = 0; i < 16; i++) {
|
||||
spin[i]->set_min(p_min);
|
||||
|
||||
Reference in New Issue
Block a user