UI: Expand the Snap Curves to Surface operator

The different methods are too different. It is worth having them as
individual choices by the users.

Differential Revision: https://developer.blender.org/D14873
This commit is contained in:
2022-05-06 12:15:31 +02:00
parent b1517e26e2
commit d02b8c1c3b

View File

@@ -3149,7 +3149,9 @@ class VIEW3D_MT_sculpt_curves(Menu):
def draw(self, _context):
layout = self.layout
layout.operator("curves.snap_curves_to_surface")
layout.operator("curves.snap_curves_to_surface", text="Snap to Deformed Surface").attach_mode = 'DEFORM'
layout.operator("curves.snap_curves_to_surface", text="Snap to Nearest Surface").attach_mode = 'NEAREST'
layout.separator()
layout.operator("curves.convert_to_particle_system", text="Convert to Particle System")