diff options
Diffstat (limited to 'source/blender/freestyle/intern/view_map/ViewMapBuilder.h')
-rwxr-xr-x | source/blender/freestyle/intern/view_map/ViewMapBuilder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/view_map/ViewMapBuilder.h b/source/blender/freestyle/intern/view_map/ViewMapBuilder.h index 5ac100bae15..aad9aa245b7 100755 --- a/source/blender/freestyle/intern/view_map/ViewMapBuilder.h +++ b/source/blender/freestyle/intern/view_map/ViewMapBuilder.h @@ -58,6 +58,7 @@ private: //SilhouetteGeomEngine _GeomEngine; ProgressBar *_pProgressBar; Vec3r _viewpoint; + bool _orthographicProjection; Grid* _Grid; ViewEdgeXBuilder *_pViewEdgeBuilder; bool _EnableQI; @@ -129,6 +130,7 @@ public: real iFocalLength, real iAspect, real iFovy) { + _orthographicProjection = (iProjectionMatrix[3][3] != 0.0); SilhouetteGeomEngine::setTransform(iModelViewMatrix, iProjectionMatrix, iViewport, iFocalLength); } |