Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-03-03 02:20:27 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-03-03 02:20:27 +0400
commit0be5cd051da224d51f946ae3ac867fa5fe36d450 (patch)
treee9ad529df0b4944c91b4ef99f1f99bf1491a818d /source/blender/freestyle/intern/stroke/StyleModule.h
parent51460e7789822bc6fd42ab7fed3fe9c84c9c27f4 (diff)
Moved operations on blend file data from C++ class destructor to a specific method
for releasing resources. Based on review comment from Campbell.
Diffstat (limited to 'source/blender/freestyle/intern/stroke/StyleModule.h')
-rw-r--r--source/blender/freestyle/intern/stroke/StyleModule.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/stroke/StyleModule.h b/source/blender/freestyle/intern/stroke/StyleModule.h
index 12f645f125b..3d053f9b4e1 100644
--- a/source/blender/freestyle/intern/stroke/StyleModule.h
+++ b/source/blender/freestyle/intern/stroke/StyleModule.h
@@ -98,6 +98,8 @@ public:
return sl;
}
+ virtual void close() {}
+
protected:
virtual int interpret()
{