diff options
Diffstat (limited to 'mesh_snap_utilities_line.py')
-rw-r--r-- | mesh_snap_utilities_line.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesh_snap_utilities_line.py b/mesh_snap_utilities_line.py index c5e9a825..f582c701 100644 --- a/mesh_snap_utilities_line.py +++ b/mesh_snap_utilities_line.py @@ -52,8 +52,6 @@ from bpy.props import ( StringProperty, ) -from snap_context import SnapContext - ##DEBUG = False ##if DEBUG: ## from .snap_framebuffer_debug import screenTexture @@ -907,6 +905,8 @@ class SnapUtilitiesLine(Operator): self.outer_verts = preferences.outer_verts self.snap_to_grid = preferences.increments_grid + from snap_context import SnapContext + self.sctx = SnapContext(context.region, context.space_data) self.sctx.set_pixel_dist(12) self.sctx.use_clip_planes(True) |