You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used
This commit is contained in:
@@ -184,7 +184,6 @@ void EditorPropertyRootMotion::setup(const NodePath &p_base_hint) {
|
||||
|
||||
void EditorPropertyRootMotion::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_ENTER_TREE:
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
Ref<Texture2D> t = get_editor_theme_icon(SNAME("Clear"));
|
||||
clear->set_button_icon(t);
|
||||
|
||||
Reference in New Issue
Block a user