- add missing initialization of several class members
- prefer check for empty() over check for size() in OptimizeGraph (empty() is guaranteed to be constant time, size() is not) - fix a couple of incorrect indentations
This commit is contained in:
@@ -60,9 +60,11 @@ static const unsigned int DeadBeef = 0xdeadbeef;
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
// Constructor to be privately used by Importer
|
||||
OptimizeMeshesProcess::OptimizeMeshesProcess()
|
||||
: pts (false)
|
||||
, max_verts( NotSet )
|
||||
, max_faces( NotSet ) {
|
||||
: mScene()
|
||||
, mesh()
|
||||
, pts(false)
|
||||
, max_verts( NotSet )
|
||||
, max_faces( NotSet ) {
|
||||
// empty
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user