diff options
Diffstat (limited to 'scene/gui/rich_text_effect.cpp')
-rw-r--r-- | scene/gui/rich_text_effect.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/rich_text_effect.cpp b/scene/gui/rich_text_effect.cpp index 67fa85b832..e0bb3ae219 100644 --- a/scene/gui/rich_text_effect.cpp +++ b/scene/gui/rich_text_effect.cpp @@ -120,3 +120,7 @@ CharFXTransform::CharFXTransform() { color = Color(); character = 0; } + +CharFXTransform::~CharFXTransform() { + environment.clear(); +} |