diff --git a/rts/Rendering/Models/3DModel.cpp b/rts/Rendering/Models/3DModel.cpp index c9f5d1e6bb6..aa529740518 100644 --- a/rts/Rendering/Models/3DModel.cpp +++ b/rts/Rendering/Models/3DModel.cpp @@ -335,6 +335,10 @@ void LocalModel::UpdateBoundingVolume(unsigned int frameNum) const CMatrix44f& matrix = pieces[n].GetModelSpaceMatrix(); const S3DModelPiece* piece = pieces[n].original; + // skip empty pieces or bounds will not be sensible + if (!piece->HasGeometryData()) + continue; + #if 0 const unsigned int vcount = piece->GetVertexCount();