mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +03:00
0032654: Data Exchange - fix misprint in RWGltf_TriangulationReader::readDracoBuffer()
Added missing break. Fixes reading of glTF files with Normal attributes preceding Position (and eliminates redundant / erroneous copy when Position attributes precede Normal).
This commit is contained in:
parent
2d7f390051
commit
2e84f455db
@ -297,6 +297,7 @@ bool RWGltf_TriangulationReader::readDracoBuffer (const Handle(RWGltf_GltfLatePr
|
|||||||
myCoordSysConverter.TransformPosition (anXYZ.ChangeCoord());
|
myCoordSysConverter.TransformPosition (anXYZ.ChangeCoord());
|
||||||
setNodePosition (theDestMesh, THE_LOWER_NODE_INDEX + aVertIter, anXYZ);
|
setNodePosition (theDestMesh, THE_LOWER_NODE_INDEX + aVertIter, anXYZ);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
case RWGltf_GltfArrayType_Normal:
|
case RWGltf_GltfArrayType_Normal:
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user