From 67d357191ff74b2cfc80015941363a97e7ee19fd Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 22 Jan 2015 11:07:16 -0300 Subject: begin work on lighting system for 2D nothing functional yet, just experimenting with API --- scene/gui/tree.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scene/gui/tree.cpp') diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp index b7b52a39dc..035dbb8cc4 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -2472,6 +2472,10 @@ void Tree::_notification(int p_what) { } } + if (p_what==NOTIFICATION_THEME_CHANGED) { + update_cache(); + } + } -- cgit v1.2.3