Skip to content

Commit

Permalink
remove cap tris option form circular floorplan
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjian0 committed Dec 11, 2020
1 parent 86d7a4b commit de382af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions btools/building/floorplan/floorplan_props.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,6 @@ def set_segment_width(self, value, propname):
description="Length of floorplan segment",
)

cap_tris: BoolProperty(
name="Cap Triangles",
default=False,
description="Set the fill type to triangles",
)

def draw(self, context, layout):
row = layout.row()
row.prop(self, "type", text="")
Expand All @@ -206,9 +200,6 @@ def draw(self, context, layout):
col.prop(self, "radius")
col.prop(self, "segments")

row = box.row()
row.prop(self, "cap_tris", toggle=True)

elif self.type == "COMPOSITE":
row = box.row(align=True)
row.prop(self, "width")
Expand Down
2 changes: 1 addition & 1 deletion btools/building/floorplan/floorplan_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def create_rectangular_floorplan(bm, prop):
def create_circular_floorplan(bm, prop):
"""Create circle in provided bmesh
"""
circle(bm, prop.radius, prop.segments, prop.cap_tris)
circle(bm, prop.radius, prop.segments)


def create_composite_floorplan(bm, prop):
Expand Down

0 comments on commit de382af

Please sign in to comment.