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:
-rw-r--r--space_view3d_spacebar_menu.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/space_view3d_spacebar_menu.py b/space_view3d_spacebar_menu.py
index ddd387cd..f3b6364d 100644
--- a/space_view3d_spacebar_menu.py
+++ b/space_view3d_spacebar_menu.py
@@ -2838,6 +2838,11 @@ class VIEW3D_OT_CursorToEdgeIntersection(Operator):
return (obj is not None and obj.type == 'MESH')
def execute(self, context):
+ # Prevent unsupported Execution in Local View modes
+ space_data = bpy.context.space_data
+ if True in space_data.layers_local_view:
+ self.report({'INFO'}, 'Global Perspective modes only unable to continue.')
+ return {'FINISHED'}
edgeIntersect(context, self)
return {'FINISHED'}