diff options
Diffstat (limited to 'source/blender/freestyle/intern/blender_interface/BlenderStyleModule.h')
-rw-r--r-- | source/blender/freestyle/intern/blender_interface/BlenderStyleModule.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/blender_interface/BlenderStyleModule.h b/source/blender/freestyle/intern/blender_interface/BlenderStyleModule.h index 4c6f7e02722..7a1ce0a082b 100644 --- a/source/blender/freestyle/intern/blender_interface/BlenderStyleModule.h +++ b/source/blender/freestyle/intern/blender_interface/BlenderStyleModule.h @@ -51,6 +51,10 @@ public: virtual ~BlenderStyleModule() { + } + + virtual void close() + { BKE_text_unlink(G.main, _text); BKE_libblock_free(&G.main->text, _text); } |