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:
Diffstat (limited to 'source/blender/freestyle/intern/stroke/TextStrokeRenderer.cpp')
-rw-r--r--source/blender/freestyle/intern/stroke/TextStrokeRenderer.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/source/blender/freestyle/intern/stroke/TextStrokeRenderer.cpp b/source/blender/freestyle/intern/stroke/TextStrokeRenderer.cpp
index fa131743afc..dc98096129d 100644
--- a/source/blender/freestyle/intern/stroke/TextStrokeRenderer.cpp
+++ b/source/blender/freestyle/intern/stroke/TextStrokeRenderer.cpp
@@ -38,11 +38,6 @@ TextStrokeRenderer::TextStrokeRenderer(const char *iFileName)
_ofstream << "%u x y z tleft tright r g b ..." << endl;
}
-TextStrokeRenderer::~TextStrokeRenderer()
-{
- Close();
-}
-
void TextStrokeRenderer::RenderStrokeRep(StrokeRep *iStrokeRep) const
{
RenderStrokeRepBasic(iStrokeRep);
@@ -68,11 +63,4 @@ void TextStrokeRenderer::RenderStrokeRepBasic(StrokeRep *iStrokeRep) const
_ofstream << endl;
}
-void TextStrokeRenderer::Close()
-{
- if (_ofstream.is_open()) {
- _ofstream.close();
- }
-}
-
} /* namespace Freestyle */