Freestyle: minor speed-up by omitting the calculation of the smallest edge size.

BlenderFileLoader tries to find the smallest edge size but the computed value is not used.
This commit is contained in:
2015-08-09 23:36:53 +09:00
parent afe3b55483
commit 3e9f6fc281
4 changed files with 20 additions and 1 deletions

View File

@@ -87,8 +87,10 @@ public:
/*! Gets the number of read faces */
inline unsigned int numFacesRead() {return _numFacesRead;}
#if 0
/*! Gets the smallest edge size read */
inline real minEdgeSize() {return _minEdgeSize;}
#endif
/*! Modifiers */
inline void setRenderMonitor(RenderMonitor *iRenderMonitor) {_pRenderMonitor = iRenderMonitor;}
@@ -115,7 +117,9 @@ protected:
SceneRenderLayer *_srl;
NodeGroup *_Scene;
unsigned _numFacesRead;
#if 0
real _minEdgeSize;
#endif
bool _smooth; /* if true, face smoothness is taken into account */
float _viewplane_left;
float _viewplane_right;