Skip to content

Commit 8d079ce

Browse files
committed
Remove unused code.
1 parent fb9edb7 commit 8d079ce

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/bonsai/bonsai/bim/module/model/decorator.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -845,22 +845,6 @@ def __call__(self, context):
845845
self.line_shader.uniform_float("lineWidth", 0.75)
846846
self.draw_batch("LINES", [self.axis_start, self.axis_end], axis_color, [(0, 1)])
847847

848-
# # Lines for X, Y, Z of single measure
849-
# if polyline_data and polyline_data.measurement_type == "SINGLE":
850-
# axis, _ = self.calculate_measurement_x_y_and_z(context)
851-
# x_axis, y_axis, z_axis = axis
852-
# self.draw_batch("LINES", [*x_axis], decorator_color_x_axis, [(0, 1)])
853-
# self.draw_batch("LINES", [*y_axis], decorator_color_y_axis, [(0, 1)])
854-
# self.draw_batch("LINES", [*z_axis], decorator_color_z_axis, [(0, 1)])
855-
856-
# # Area highlight
857-
# if polyline_data:
858-
# area = polyline_data.area.split(" ")[0]
859-
# if polyline_data.measurement_type == "POLY_AREA" and area:
860-
# if float(area) > 0:
861-
# tris = self.calculate_polygon(polyline_verts)["tris"]
862-
# self.draw_batch("TRIS", polyline_verts, transparent_color(decorator_color_special), tris)
863-
864848
# Mouse points
865849
if snap_prop.snap_type in ["Plane", "Axis", "Mix"]:
866850
self.draw_batch("POINTS", mouse_point, decorator_color_unselected)

0 commit comments

Comments
 (0)