assimp/code/AssetLib/X3D
Andre Schulz 9d71a275c3 X3D: Don't convert IndexedLineSet polylines with > 2 indices to triangles/polygons
Currently, when the coordIndex attribute of an IndexedLineSet contains a
polyline with > 2 indices, X3DGeoHelper::coordIdx_str2faces_arr() will
incorrectly determine the primitive type to be aiPrimitiveType_TRIANGLE or
aiPrimitiveType_POLYGON instead of aiPrimitiveType_LINE.

To fix this, this commit adds functions to explicitly handle an IndexedLineSet.

Fixes #3101
2024-01-09 20:55:51 +01:00
..
X3DExporter.cpp
X3DExporter.hpp
X3DGeoHelper.cpp X3D: Don't convert IndexedLineSet polylines with > 2 indices to triangles/polygons 2024-01-09 20:55:51 +01:00
X3DGeoHelper.h X3D: Don't convert IndexedLineSet polylines with > 2 indices to triangles/polygons 2024-01-09 20:55:51 +01:00
X3DImporter.cpp
X3DImporter.hpp
X3DImporter_Geometry2D.cpp
X3DImporter_Geometry3D.cpp
X3DImporter_Group.cpp
X3DImporter_Light.cpp
X3DImporter_Macro.hpp
X3DImporter_Metadata.cpp
X3DImporter_Networking.cpp
X3DImporter_Node.hpp Tidy Up Constructors and Destructors 2023-01-16 21:47:11 +01:00
X3DImporter_Postprocess.cpp X3D: Don't convert IndexedLineSet polylines with > 2 indices to triangles/polygons 2024-01-09 20:55:51 +01:00
X3DImporter_Rendering.cpp
X3DImporter_Shape.cpp
X3DImporter_Texturing.cpp
X3DXmlHelper.cpp Fix warning related to unreachable-code-return. 2023-04-29 00:30:21 +08:00
X3DXmlHelper.h