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/view_map/SilhouetteGeomEngine.h')
-rw-r--r--source/blender/freestyle/intern/view_map/SilhouetteGeomEngine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/view_map/SilhouetteGeomEngine.h b/source/blender/freestyle/intern/view_map/SilhouetteGeomEngine.h
index d6ee159fe88..f1c6b25c49e 100644
--- a/source/blender/freestyle/intern/view_map/SilhouetteGeomEngine.h
+++ b/source/blender/freestyle/intern/view_map/SilhouetteGeomEngine.h
@@ -80,7 +80,7 @@ public:
/*! retrieves an instance on the singleton */
static SilhouetteGeomEngine *getInstance()
{
- if(0 == _pInstance) {
+ if (_pInstance == NULL) {
_pInstance = new SilhouetteGeomEngine;
}
return _pInstance;