Blender Git Loki

Git Commits -> Revision 5ef3afd

Revision 5ef3afd by Hans Goudey (master)
August 24, 2021, 18:38 (GMT)
Fix T90900: Crash when rendering geometry nodes created curve

The comment for data_eval mentions that it should contain a mesh for
curve objects, however with geometry nodes, objects can evaluate to
curves as well (though they are only containers for the `CurveEval`.
That is a larger issue, but with the upcoming geometry instancing patch
the situation changes, so this commit does not correct that. I also hope
to remove this code in favor of the new curve to mesh code soon.

Instead, just check the evaluated data type in this case, which prevents
the crash, though it is hacky.

Commit Details:

Full Hash: 5ef3afd87c54b47614254d95c9b2e9a17c60f76e
Parent Commit: f53cf51
Lines Changed: +4, -2

1 Modified Path:

/source/blender/blenkernel/intern/mesh_convert.c (+4, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021