diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-08-02 18:45:32 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-08-02 19:24:59 +0300 |
commit | 26d5fae2841d098d0e3be3b02d5d09458512c3a5 (patch) | |
tree | c830c04ef6f6dec0b93abaf5cc5895326fc81eb5 /source/blender/bmesh/intern | |
parent | dda0de4a3d09e8aed93718491f7dfb9366e8efd5 (diff) |
Fix T68135: Do not return NULL/None when converting an object to a mesh.
Does not make sense in the use-cases of that function, especially since
we don't know whether it is actually due to an error, or some glitch
(like an empty curve).
Think we always want to get a mesh when using either operator
conversion, or the `bpy.data.meshes.new_from_object` function.
Note that an assert was also added to ensure we do try to convert from a
valid 'geometry' object type.
Diffstat (limited to 'source/blender/bmesh/intern')
0 files changed, 0 insertions, 0 deletions