Problem summary
B-Splines do not empty the mesh layer if they are deleted in segments. When the Patch tool is used on this empty mesh layer, Modo crashes.
Customer reported version
modo.12.0v1
Customer reported platform
windows10
Steps to reproduce
1) In the Model layout, switch to the Curve tab in the Model Toolbox and select the B-Spline tool.
2) Draw a B-spline curve with several points in the 3d Viewport.
3) Drop the B-Spline tool and enter Component mode (Edges).
4) Select one section of the B-spline curve and delete it. Then, select the remaining sections are delete them all.
With the other curve tools, deleting all sections of the curve will empty the mesh layer. If you look at the Item List, you will see that the mesh layer still contains item information, indicated by the black font.
5) Select the Patch tool in the Model Toolbox and click in the 3d Viewport. Modo will crash to Desktop.
Workaround
n/a
Reproduced by support
This bug has been reproduced in:
Windows 10
12.1v1 RC0
12.0v1
11.2v3
11.1v1
11.0v3
10.2v4
Earliest version tested
10.2v4 - This issue appears to be in all versions of the product
Expected behaviour
For the mesh layer to be emptied if it contains only a B-Spline curve that has been deleted in segments.
For Modo to prompt the user with a warning message when attempting to use the Patch tool when there is no available curve.
Actual behaviour
Modo does not empty the mesh layer.
Modo crashes when the Patch tool is used.