diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-01-05 17:26:39 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-01-05 17:46:41 +0300 |
commit | b1cec919ec7d255c29d31bc21c91d98e0d118182 (patch) | |
tree | 13786dff1d80b5d210009d1b2f694bb9fee1ec05 /mesh_snap_utilities_line | |
parent | 94bd4819809c15642cff15bf92b09ed589ffddc2 (diff) |
Cleanup: fix types in source code
Contributed by luzpaz.
Differential Revision: https://developer.blender.org/D5801
Diffstat (limited to 'mesh_snap_utilities_line')
-rw-r--r-- | mesh_snap_utilities_line/common_classes.py | 2 | ||||
-rw-r--r-- | mesh_snap_utilities_line/op_line.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mesh_snap_utilities_line/common_classes.py b/mesh_snap_utilities_line/common_classes.py index f0e2a8ed..3068100a 100644 --- a/mesh_snap_utilities_line/common_classes.py +++ b/mesh_snap_utilities_line/common_classes.py @@ -293,7 +293,7 @@ class Constrain: self.last_type = type return True - def toogle(self): + def toggle(self): self.rotMat = None # update if self.preferences.auto_constrain: self.orientation_id = (self.orientation_id + 1) % 2 diff --git a/mesh_snap_utilities_line/op_line.py b/mesh_snap_utilities_line/op_line.py index 771c6a4b..f7687911 100644 --- a/mesh_snap_utilities_line/op_line.py +++ b/mesh_snap_utilities_line/op_line.py @@ -347,7 +347,7 @@ class SnapUtilitiesLine(SnapUtilities, bpy.types.Operator): elif event.type == 'F8': self.vector_constrain = None - self.constrain.toogle() + self.constrain.toggle() elif event.type in {'RIGHTMOUSE', 'ESC'}: if not self.wait_for_input or not is_making_lines or event.type == 'ESC': |