mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 06:09:16 +00:00
Fix propagation of kernel settings (affects multi threading)
This commit is contained in:
+17
-5
@@ -307,9 +307,13 @@ public:
|
|||||||
, modelling_precision(0.00001)
|
, modelling_precision(0.00001)
|
||||||
, dimensionality(1.)
|
, dimensionality(1.)
|
||||||
, layerset_first(-1.)
|
, layerset_first(-1.)
|
||||||
|
|
||||||
, no_wire_intersection_check(-1)
|
, no_wire_intersection_check(-1)
|
||||||
, no_wire_intersection_tolerance(-1)
|
, no_wire_intersection_tolerance(-1)
|
||||||
, precision_factor(10.)
|
, precision_factor(10.)
|
||||||
|
, boolean_debug_setting(false)
|
||||||
|
, boolean_attempt_2d(true)
|
||||||
|
|
||||||
, placement_rel_to_type_(nullptr)
|
, placement_rel_to_type_(nullptr)
|
||||||
, placement_rel_to_instance_(nullptr)
|
, placement_rel_to_instance_(nullptr)
|
||||||
, faceset_helper_(nullptr)
|
, faceset_helper_(nullptr)
|
||||||
@@ -324,13 +328,17 @@ public:
|
|||||||
, ifc_planeangle_unit(other.ifc_planeangle_unit)
|
, ifc_planeangle_unit(other.ifc_planeangle_unit)
|
||||||
, modelling_precision(other.modelling_precision)
|
, modelling_precision(other.modelling_precision)
|
||||||
, dimensionality(other.dimensionality)
|
, dimensionality(other.dimensionality)
|
||||||
// @nb faceset_helper_ always initialized to 0
|
|
||||||
, layerset_first(other.layerset_first)
|
, layerset_first(other.layerset_first)
|
||||||
|
, no_wire_intersection_check(other.no_wire_intersection_check)
|
||||||
|
, no_wire_intersection_tolerance(other.no_wire_intersection_tolerance)
|
||||||
|
, precision_factor(other.precision_factor)
|
||||||
|
, boolean_debug_setting(other.boolean_debug_setting)
|
||||||
|
, boolean_attempt_2d(other.boolean_attempt_2d)
|
||||||
, placement_rel_to_type_(other.placement_rel_to_type_)
|
, placement_rel_to_type_(other.placement_rel_to_type_)
|
||||||
, placement_rel_to_instance_(other.placement_rel_to_instance_)
|
, placement_rel_to_instance_(other.placement_rel_to_instance_)
|
||||||
|
// @nb faceset_helper_ always initialized to 0
|
||||||
, faceset_helper_(nullptr)
|
, faceset_helper_(nullptr)
|
||||||
, disable_boolean_result(other.disable_boolean_result)
|
, disable_boolean_result(other.disable_boolean_result)
|
||||||
|
|
||||||
, offset(other.offset)
|
, offset(other.offset)
|
||||||
, rotation(other.rotation)
|
, rotation(other.rotation)
|
||||||
, offset_and_rotation(other.offset_and_rotation)
|
, offset_and_rotation(other.offset_and_rotation)
|
||||||
@@ -343,12 +351,16 @@ public:
|
|||||||
ifc_length_unit = other.ifc_length_unit;
|
ifc_length_unit = other.ifc_length_unit;
|
||||||
ifc_planeangle_unit = other.ifc_planeangle_unit;
|
ifc_planeangle_unit = other.ifc_planeangle_unit;
|
||||||
modelling_precision = other.modelling_precision;
|
modelling_precision = other.modelling_precision;
|
||||||
dimensionality = other.dimensionality;
|
dimensionality = other.dimensionality;
|
||||||
|
layerset_first = other.layerset_first;
|
||||||
|
no_wire_intersection_check = other.no_wire_intersection_check;
|
||||||
|
no_wire_intersection_tolerance = other.no_wire_intersection_tolerance;
|
||||||
|
precision_factor = other.precision_factor;
|
||||||
|
boolean_debug_setting = other.boolean_debug_setting;
|
||||||
|
boolean_attempt_2d = other.boolean_attempt_2d;
|
||||||
placement_rel_to_type_ = other.placement_rel_to_type_;
|
placement_rel_to_type_ = other.placement_rel_to_type_;
|
||||||
placement_rel_to_instance_ = other.placement_rel_to_instance_;
|
placement_rel_to_instance_ = other.placement_rel_to_instance_;
|
||||||
layerset_first = other.layerset_first;
|
|
||||||
disable_boolean_result = other.disable_boolean_result;
|
disable_boolean_result = other.disable_boolean_result;
|
||||||
|
|
||||||
offset = other.offset;
|
offset = other.offset;
|
||||||
rotation = other.rotation;
|
rotation = other.rotation;
|
||||||
offset_and_rotation = other.offset_and_rotation;
|
offset_and_rotation = other.offset_and_rotation;
|
||||||
|
|||||||
Reference in New Issue
Block a user