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/application')
-rwxr-xr-xsource/blender/freestyle/intern/application/Controller.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/freestyle/intern/application/Controller.cpp b/source/blender/freestyle/intern/application/Controller.cpp
index ad48b30d744..c0e05ba09f4 100755
--- a/source/blender/freestyle/intern/application/Controller.cpp
+++ b/source/blender/freestyle/intern/application/Controller.cpp
@@ -97,6 +97,7 @@ Controller::Controller()
_ProgressBar = new ProgressBar;
_SceneNumFaces = 0;
_minEdgeSize = DBL_MAX;
+ _EPSILON = 1e-6;
_bboxDiag = 0;
_ViewMap = 0;
@@ -210,13 +211,8 @@ int Controller::LoadMesh(Render *re, SceneRenderLayer* srl)
if(loader.minEdgeSize() < _minEdgeSize)
{
_minEdgeSize = loader.minEdgeSize();
- _EPSILON = _minEdgeSize*1e-6;
- if(_EPSILON < DBL_MIN)
- _EPSILON = 0.0;
}
- cout << "Epsilon computed : " << _EPSILON << endl;
-
// DEBUG
// ScenePrettyPrinter spp;
// blenderScene->accept(spp);