Merge pull request #89823 from YeldhamDev/variation,_not_notification

Remove pointless `_notification()` function in `EditorPropertyOTVariation`
This commit is contained in:
Rémi Verschelde 2024-03-24 01:24:00 +01:00
commit 9293cedaa6
No known key found for this signature in database
GPG key ID: C3336907360768E1
2 changed files with 0 additions and 9 deletions

View file

@ -383,14 +383,6 @@ EditorPropertyFontMetaOverride::EditorPropertyFontMetaOverride(bool p_script) {
/* EditorPropertyOTVariation */ /* EditorPropertyOTVariation */
/*************************************************************************/ /*************************************************************************/
void EditorPropertyOTVariation::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE:
case NOTIFICATION_THEME_CHANGED: {
} break;
}
}
void EditorPropertyOTVariation::_property_changed(const String &p_property, const Variant &p_value, const String &p_name, bool p_changing) { void EditorPropertyOTVariation::_property_changed(const String &p_property, const Variant &p_value, const String &p_name, bool p_changing) {
if (p_property.begins_with("keys")) { if (p_property.begins_with("keys")) {
Dictionary dict = object->get_dict(); Dictionary dict = object->get_dict();

View file

@ -139,7 +139,6 @@ class EditorPropertyOTVariation : public EditorProperty {
EditorPaginator *paginator = nullptr; EditorPaginator *paginator = nullptr;
protected: protected:
void _notification(int p_what);
static void _bind_methods(){}; static void _bind_methods(){};
void _edit_pressed(); void _edit_pressed();