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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user