spacebar menu disable edge intersect local mode: T51322
This commit is contained in:
parent
77e2b2a08e
commit
3e69b9d046
|
@ -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'}
|
||||
|
||||
|
|
Loading…
Reference in New Issue