Mesh: [skip ci] restore comment

This commit is contained in:
wmayer
2023-04-12 13:34:06 +02:00
committed by wwmayer
parent 8b5451a167
commit 64de24c039

View File

@@ -592,6 +592,9 @@ void SoFCIndexedFaceSet::drawFaces(SoGLRenderAction *action)
drawCoords(static_cast<const SoGLCoordinateElement*>(coords), cindices, numindices,
normals, nindices, &mb, mindices, binding, &tb, tindices);
// getVertexData() internally calls readLockNormalCache() that read locks
// the normal cache. When the cache is not needed any more we must call
// readUnlockNormalCache()
if (normalCacheUsed)
this->readUnlockNormalCache();