diff options
author | Hans Goudey <h.goudey@me.com> | 2021-08-24 21:38:53 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-08-24 21:38:53 +0300 |
commit | 5ef3afd87c54b47614254d95c9b2e9a17c60f76e (patch) | |
tree | 80f08c54548007de7908e04182cb201abddb9a4e /source/blender/modifiers | |
parent | f53cf5141d37c5f6cb59d58c1b2c074979bdb3f0 (diff) |
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.
Diffstat (limited to 'source/blender/modifiers')
0 files changed, 0 insertions, 0 deletions