I need to select some mesh or curve from a modal operator. I can do it with mesh by using the template "Raycast View Operator" but not for the curve because they haven't got faces and the raycast return face_index. So, how can I select curves i my modal operator ?
Is there an alternative to the "Raycast View Operator" to retrieve a curve under the mouse clicclick in a modal operator ?