small fix and mods

This commit is contained in:
Jesusbill
2021-03-19 23:38:28 +01:00
parent f49de02ab7
commit 39c8c8db37
3 changed files with 2 additions and 3 deletions
@@ -124,7 +124,6 @@ if bpy is not None:
prop.BIMProperties,
prop.DocProperties,
prop.IfcParameter,
prop.BoundaryCondition,
prop.PsetQto,
prop.GlobalId,
prop.RepresentationItem,
@@ -93,7 +93,7 @@ class DisableEditingContainer(bpy.types.Operator):
class RemoveContainer(bpy.types.Operator):
bl_idname = "bim.remove_container"
bl_label = "Remvoe Container"
bl_label = "Remove Container"
obj: bpy.props.StringProperty()
def execute(self, context):
@@ -11,4 +11,4 @@ class Usecase:
if len(self.file.get_inverse(self.settings["connection"].AppliedCondition)) > 1:
self.settings["connection"].AppliedCondition = None
else:
self.file.remove(settings["connection"].AppliedCondition)
self.file.remove(self.settings["connection"].AppliedCondition)