diff options
author | Juan Linietsky <juan@okamstudio.com> | 2015-01-22 11:07:16 -0300 |
---|---|---|
committer | Juan Linietsky <juan@okamstudio.com> | 2015-01-22 11:07:16 -0300 |
commit | 67d357191ff74b2cfc80015941363a97e7ee19fd (patch) | |
tree | 7073fe351796714b6a2c50898ab919e75bec81c6 /scene/gui | |
parent | c6eabbbec5a9fec7a0d473fe67a544af3454c3d2 (diff) |
begin work on lighting system for 2D
nothing functional yet, just experimenting with API
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/tree.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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(); + } + } |