mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
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:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user