mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Fixes after settings rework
This commit is contained in:
@@ -221,7 +221,7 @@ namespace ifcopenshell {
|
||||
struct OutputDimensionality : public SettingBase<OutputDimensionality, OutputDimensionalityTypes> {
|
||||
static constexpr const char* const name = "dimensionality";
|
||||
static constexpr const char* const description = "Specifies whether to include curves and/or surfaces and solids in the output result. Defaults to only surfaces and solids.";
|
||||
static constexpr OutputDimensionalityTypes defaultvalue = CURVES_SURFACES_AND_SOLIDS;
|
||||
static constexpr OutputDimensionalityTypes defaultvalue = SURFACES_AND_SOLIDS;
|
||||
};
|
||||
|
||||
enum IteratorOutputOptions {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
using namespace ifcopenshell::geometry;
|
||||
|
||||
taxonomy::ptr mapping::map_impl(const IfcSchema::IfcRepresentation* inst) {
|
||||
const bool items_to_include = !this->settings_.get<settings::OutputDimensionality>().get();
|
||||
auto items_to_include = this->settings_.get<settings::OutputDimensionality>().get();
|
||||
|
||||
auto items = map_to_collection(this, inst->Items());
|
||||
if (!items) {
|
||||
|
||||
Reference in New Issue
Block a user