mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
Fix #5340. Fix cosmetic console bug when adding a spatial subelement and selecting it.
This commit is contained in:
@@ -65,6 +65,8 @@ def update_name(self, context):
|
|||||||
|
|
||||||
def update_active_container_index(self, context):
|
def update_active_container_index(self, context):
|
||||||
SpatialDecompositionData.data["subelement_class"] = SpatialDecompositionData.subelement_class()
|
SpatialDecompositionData.data["subelement_class"] = SpatialDecompositionData.subelement_class()
|
||||||
|
if tool.Blender.get_enum_safe(self, "subelement_class") is None:
|
||||||
|
self.subelement_class = SpatialDecompositionData.data["subelement_class"][0][0]
|
||||||
tool.Spatial.load_contained_elements()
|
tool.Spatial.load_contained_elements()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user