Blender Git Loki

Git Commits -> Revision 05b6859

Revision 05b6859 by Hans Goudey (master)
June 2, 2021, 15:11 (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: 05b685989b5288bcfdc5bd4ae5c387a1da4dd58e
Parent Commit: 7654203
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