[MeshPart] Fix copy-paste error
It doesn't make sense to check minLen and then call SetMinSize to maxLen
so this must be a copy-paste error.
Introduced in eb6f60469a
Found with Coverity.
This commit is contained in:
@@ -368,7 +368,7 @@ Mesh::MeshObject* Mesher::createMesh() const
|
||||
if (maxLen > 0)
|
||||
hyp2d->SetMaxSize(maxLen);
|
||||
if (minLen > 0)
|
||||
hyp2d->SetMinSize(maxLen);
|
||||
hyp2d->SetMinSize(minLen);
|
||||
|
||||
hyp2d->SetQuadAllowed(allowquad);
|
||||
hyp2d->SetOptimize(optimize);
|
||||
|
||||
Reference in New Issue
Block a user