IfcBlender: updated to Blender 2.58 (Patch by Yorik van Havre)

IfcParse: lazy loading of entities
IfcGeom: caching of binary entities
This commit is contained in:
Thomas Krijnen
2011-07-11 09:33:18 +00:00
parent dd32f3a0e6
commit 8767f6e52a
14 changed files with 1081 additions and 675 deletions
+9 -1
View File
@@ -38,5 +38,13 @@ std::string IfcSchema::Enum::ToString(IfcTypes t) {
#include "../ifcparse/IfcSchema.h"
#undef IFC_PARSE_ENUM_STR
return "";
return "IfcUnknown";
}
bool IfcSchema::Enum::ShouldRender(IfcTypes t) {
if ( t == IfcUnknown ) return false;
#define IFC_PARSE_RENDER
#include "../ifcparse/IfcSchema.h"
#undef IFC_PARSE_RENDER
else return false;
}