mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-28 19:27:10 +00:00
bim.add_potential_opening - remove unused code
draw_settings() was never used
This commit is contained in:
@@ -446,17 +446,9 @@ class AddPotentialOpening(Operator, AddObjectHelper):
|
|||||||
bl_label = "Add Opening"
|
bl_label = "Add Opening"
|
||||||
bl_description = "Add an Opening object which can be applied on an Element"
|
bl_description = "Add an Opening object which can be applied on an Element"
|
||||||
bl_options = {"REGISTER", "UNDO"}
|
bl_options = {"REGISTER", "UNDO"}
|
||||||
x: FloatProperty(name="X", default=0.5)
|
x: FloatProperty(name="Size X", default=0.5, subtype="DISTANCE")
|
||||||
y: FloatProperty(name="Y", default=0.5)
|
y: FloatProperty(name="Y", default=0.5, subtype="DISTANCE")
|
||||||
z: FloatProperty(name="Z", default=0.5)
|
z: FloatProperty(name="Z", default=0.5, subtype="DISTANCE")
|
||||||
|
|
||||||
def draw_settings(context, layout, tool):
|
|
||||||
row = self.layout.row()
|
|
||||||
row.prop(data=self, property="x", label="Size X")
|
|
||||||
row = self.layout.row()
|
|
||||||
row.prop(data=self, property="y")
|
|
||||||
row = self.layout.row()
|
|
||||||
row.prop(data=self, property="z")
|
|
||||||
|
|
||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
props = context.scene.BIMModelProperties
|
props = context.scene.BIMModelProperties
|
||||||
|
|||||||
Reference in New Issue
Block a user