Handle errors : when an object has no parent

This commit is contained in:
Balleux Benjamin
2017-04-12 13:36:12 +02:00
parent 37f7fbecca
commit b9e9bfeceb
2 changed files with 22 additions and 13 deletions
+1 -2
View File
@@ -177,7 +177,6 @@ private:
ColladaExporter exporter;
std::string unit_name;
float unit_magnitude;
IfcParse::IfcFile* file;
public:
ColladaSerializer(const std::string& dae_filename, const SerializerSettings& settings)
: GeometrySerializer(settings)
@@ -198,7 +197,7 @@ public:
unit_name = name;
unit_magnitude = magnitude;
}
void setFile(IfcParse::IfcFile* f) { file = f; }
void setFile(IfcParse::IfcFile*) {}
};
#endif