Blender Git Loki

Git Commits -> Revision f68eac3

June 7, 2021, 14:58 (GMT)
Fix T88732: Curve to mesh node crash with empty input curve

The mesh to curve node generated an empty curve because no edges were
selected. This commit changes that node to not add a curve in that case.

This also changes the curve to mesh node to not add a material when
no mesh was created. Even though we don't expect null curves or meshes
in this case, the change is harmless.

Commit Details:

Full Hash: f68eac3945f939e9bd539b3f27933b3a96937ffd
Parent Commit: e99d523
Committed By: Jacques Lucke
Lines Changed: +3, -5

2 Modified Paths:

/source/blender/nodes/geometry/nodes/node_geo_curve_to_mesh.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_to_curve.cc (+2, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021