Blender Git Loki
Git Commits -> Revision b39d7e4
Revision b39d7e4 by Sybren A. Stüvel (master) July 10, 2019, 12:13 (GMT) |
Fix T66631: Crash when converting objects from Curve to Mesh When `BKE_mesh_new_from_object()` cannot convert an object to a mesh, it returns `NULL`. This case was not handled at all in `BKE_mesh_new_from_object_to_bmain()` or `curvetomesh()`, causing a segmentation fault. This commit fixes the segmentation fault, and leaves the curve object as a curve object. Reviewed By: mont29, brecht, sergey Differential Revision: https://developer.blender.org/D5217 |
Commit Details:
Full Hash: b39d7e484c6be45fb8ffe0809aecb5726b7d1936
Parent Commit: d3e1782
Lines Changed: +16, -3