Changed the order of the input panel for Polyline and Measure tool. Distance and Angle now come first.

This commit is contained in:
Bruno Perdigão
2024-08-21 22:55:20 -03:00
parent f23e419685
commit e8a7a032aa
4 changed files with 5 additions and 6 deletions
@@ -2308,10 +2308,10 @@ class MeasureTool(bpy.types.Operator):
self.number_output = ""
self.number_is_negative = False
self.is_input_on = False
self.input_options = ["X", "Y", "Z", "D", "A"]
self.input_options = ["D", "A", "X", "Y", "Z"]
self.input_type = "OFF"
self.input_value_xy = [None, None]
self.input_panel = {"X": "", "Y": "", "Z": "", "D": "", "A": "", "AREA": ""}
self.input_panel = {"D": "", "A": "", "X": "", "Y": "", "Z": "", "AREA": ""}
self.snap_angle = None
def recalculate_inputs(self, context):