mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Sort SVG drawings plans before elevations
This commit is contained in:
@@ -39,7 +39,7 @@ typedef std::pair<IfcUtil::IfcBaseEntity*, std::string> drawing_key;
|
||||
struct storey_sorter {
|
||||
bool operator()(const drawing_key& ad, const drawing_key& bd) const {
|
||||
if (ad.first == nullptr && bd.first != nullptr) {
|
||||
return true;
|
||||
return false;
|
||||
} else if (bd.first == nullptr && ad.first != nullptr) {
|
||||
return true;
|
||||
} else if (ad.first == nullptr && bd.first == nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user