mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
Merge branch 'v0.8.0' into ifcmax/initial-refresh
This commit is contained in:
@@ -467,12 +467,12 @@ class DocPreferences(bpy.types.PropertyGroup):
|
||||
classes_to_wireframe: StringProperty(
|
||||
default="IfcVirtualElement",
|
||||
name="Classes to Wireframe",
|
||||
description="Upon import, these classes will display as wireframe.\nEx: IfcVirtualelement, IfcSpace",
|
||||
description="Upon import, these classes will display as wireframe.\nEx: IfcVirtualElement, IfcSpace",
|
||||
)
|
||||
classes_no_cut: StringProperty(
|
||||
default="IfcVirtualElement, IfcSpace",
|
||||
name="Classes that are not cut",
|
||||
description="The cut decoractor will be turned off for these classes\nEx: IfcVirtualelement, IfcSpace",
|
||||
description="The cut decorator will be turned off for these classes\nEx: IfcVirtualElement, IfcSpace",
|
||||
)
|
||||
|
||||
if TYPE_CHECKING:
|
||||
|
||||
@@ -1239,6 +1239,7 @@ void fuse_corridor_halves_with_input(Arrangement_2& arr, Graph2D<K>& G, SegmentL
|
||||
}
|
||||
|
||||
class timer {
|
||||
public:
|
||||
class entry {
|
||||
public:
|
||||
entry(std::map<std::string, std::chrono::high_resolution_clock::time_point>::const_iterator start_it)
|
||||
@@ -1253,9 +1254,8 @@ class timer {
|
||||
std::map<std::string, std::chrono::high_resolution_clock::time_point>::const_iterator start_it;
|
||||
};
|
||||
|
||||
public:
|
||||
entry start(const std::string& name) {
|
||||
return timings_.insert({name, std::chrono::high_resolution_clock::now()}).first;
|
||||
return entry(timings_.insert({name, std::chrono::high_resolution_clock::now()}).first);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user