From aaa476cb104b974676d55d6fbee529a4ee2cf79a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20D=C3=A4hne?= Date: Fri, 23 Jun 2017 11:59:14 +0200 Subject: [PATCH] X3D importer: Added EXPORT and IMPORT to the list of ignored XML tags --- code/X3DImporter.cpp | 4 ++-- code/X3DImporter.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/X3DImporter.cpp b/code/X3DImporter.cpp index a96ce9fbf..2edb1b081 100644 --- a/code/X3DImporter.cpp +++ b/code/X3DImporter.cpp @@ -243,7 +243,7 @@ void X3DImporter::XML_CheckNode_MustBeEmpty() void X3DImporter::XML_CheckNode_SkipUnsupported(const std::string& pParentNodeName) { - static const size_t Uns_Skip_Len = 190; + static const size_t Uns_Skip_Len = 192; const char* Uns_Skip[ Uns_Skip_Len ] = { // CAD geometry component "CADAssembly", "CADFace", "CADLayer", "CADPart", "IndexedQuadSet", "QuadSet", @@ -278,7 +278,7 @@ void X3DImporter::XML_CheckNode_SkipUnsupported(const std::string& pParentNodeNa // Navigation component "Billboard", "Collision", "LOD", "NavigationInfo", "OrthoViewpoint", "Viewpoint", "ViewpointGroup", // Networking component - "Anchor", "LoadSensor", + "EXPORT", "IMPORT", "Anchor", "LoadSensor", // NURBS component "Contour2D", "ContourPolyline2D", "CoordinateDouble", "NurbsCurve", "NurbsCurve2D", "NurbsOrientationInterpolator", "NurbsPatchSurface", "NurbsPositionInterpolator", "NurbsSet", "NurbsSurfaceInterpolator", "NurbsSweptSurface", "NurbsSwungSurface", "NurbsTextureCoordinate", diff --git a/code/X3DImporter.hpp b/code/X3DImporter.hpp index 2d21fe8f2..e02d1ab61 100644 --- a/code/X3DImporter.hpp +++ b/code/X3DImporter.hpp @@ -101,7 +101,7 @@ namespace Assimp { /// Navigation component: /// "Billboard", "Collision", "LOD", "NavigationInfo", "OrthoViewpoint", "Viewpoint", "ViewpointGroup" /// Networking component: -/// "Anchor", "LoadSensor" +/// "EXPORT", "IMPORT", "Anchor", "LoadSensor" /// NURBS component: /// "Contour2D", "ContourPolyline2D", "CoordinateDouble", "NurbsCurve", "NurbsCurve2D", "NurbsOrientationInterpolator", "NurbsPatchSurface", /// "NurbsPositionInterpolator", "NurbsSet", "NurbsSurfaceInterpolator", "NurbsSweptSurface", "NurbsSwungSurface", "NurbsTextureCoordinate",