mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 18:43:26 +00:00
Fix a typo preventing gcc compilation
Increment version string to 0.3.0-rc3 Add version string to IfcObj output
This commit is contained in:
@@ -59,7 +59,7 @@ int main ( int argc, char** argv ) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
fObj << "# File generated by IfcOpenShell" << std::endl;
|
||||
fObj << "# File generated by IfcOpenShell " << IFCOPENSHELL_VERSION << std::endl;
|
||||
fObj << "mtllib " << fnMtl << std::endl;
|
||||
std::set<std::string> materials;
|
||||
|
||||
@@ -107,7 +107,7 @@ int main ( int argc, char** argv ) {
|
||||
std::cout << "\rDone creating geometry " << std::endl;
|
||||
|
||||
// Writes the material settings, defined in Materials.h
|
||||
fMtl << "# File generated by IfcOpenShell" << std::endl;
|
||||
fMtl << "# File generated by IfcOpenShell " << IFCOPENSHELL_VERSION << std::endl;
|
||||
for( std::set<std::string>::iterator it = materials.begin(); it != materials.end(); ++ it ) {
|
||||
fMtl << GetMaterial(*it);
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#ifndef IFCPARSE_H
|
||||
#define IFCPARSE_H
|
||||
|
||||
#define IFCOPENSHELL_VERSION "0.3.0-rc2"
|
||||
#define IFCOPENSHELL_VERSION "0.3.0-rc3"
|
||||
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
@@ -260,7 +260,7 @@ public:
|
||||
/// Returns the entity with the specified id
|
||||
static IfcEntity EntityById(int id);
|
||||
/// Returns the entity with the specified GlobalId
|
||||
static Ifc2x3::IfcRoot::ptr Ifc::EntityByGuid(const std::string& guid);
|
||||
static Ifc2x3::IfcRoot::ptr EntityByGuid(const std::string& guid);
|
||||
static bool Init(const std::string& fn);
|
||||
static bool Init(std::istream& fn, int len);
|
||||
static bool Init(void* data, int len);
|
||||
|
||||
Reference in New Issue
Block a user