Description

It is not possible to use the Create StaticMesh button to create a Static Mesh from a Procedural Mesh with only 3 verts. The following if check is the reason:

if (RawMesh.VertexPositions.Num() > 3 && RawMesh.WedgeIndices.Num() > 3) 

This if check should be checking for >= 3 instead of just > 3.

Note: If this is intended functionality, it may be useful to add a warning/error message for when this is attempted.

Regression?: No
This also occurs in 4.14.

Steps to Reproduce
  1. Download the attached project
  2. Select the instance of MeshBP in the level and select its ProceduralMeshComponent in the details panel
  3. Press the Create StaticMesh button and select a name/destination
    Result: The process goes through but no mesh is created
    Expected: The process creates the mesh successfully

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentOLD - Anim
Affects Versions4.144.154.16
Target Fix4.16
Fix Commit3344782
Main Commit3362661
CreatedFeb 23, 2017
ResolvedMar 14, 2017
UpdatedApr 27, 2018
View Jira Issue