Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mesh_snap_utilities_line/snap_context_l/__init__.py')
-rw-r--r--mesh_snap_utilities_line/snap_context_l/__init__.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/mesh_snap_utilities_line/snap_context_l/__init__.py b/mesh_snap_utilities_line/snap_context_l/__init__.py
index 2bb51ea3..ad8df061 100644
--- a/mesh_snap_utilities_line/snap_context_l/__init__.py
+++ b/mesh_snap_utilities_line/snap_context_l/__init__.py
@@ -335,6 +335,8 @@ class SnapContext():
if clear_offscreen:
self._offscreen.clear()
+ _Internal.gpu_Indices_use_clip_planes(self.rv3d, True)
+
def tag_update_drawn_snap_object(self, snap_obj):
if len(snap_obj.data) > 1:
snap_obj.data[1].free()
@@ -360,9 +362,6 @@ class SnapContext():
_Internal.gpu_Indices_restore_state()
- def use_clip_planes(self, value):
- _Internal.gpu_Indices_use_clip_planes(self.rv3d, value)
-
def set_pixel_dist(self, dist_px):
self._dist_px = int(dist_px)
self._dist_px_sq = self._dist_px ** 2