# IFC: fix loading of the IFF2X2 scheme.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1005 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2011-05-13 01:14:38 +00:00
parent fc5ab64790
commit 3a021e934e
2 changed files with 2 additions and 2 deletions

View File

@@ -3695,7 +3695,7 @@ template <> size_t GenericFill<IfcRelContainedInSpatialStructure>(const DB& db,
if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelContainedInSpatialStructure"); } do { // convert the 'RelatedElements' argument
const DataType* arg = params[base++];
try { GenericConvert( in->RelatedElements, *arg, db ); break; }
catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelContainedInSpatialStructure to be a `SET [1:?] OF IfcProduct`")); }
catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelContainedInSpatialStructure to be a `SET [0:?] OF IfcProduct`")); }
} while(0);
do { // convert the 'RelatingStructure' argument
const DataType* arg = params[base++];