diff options
author | Hans Goudey <h.goudey@me.com> | 2022-05-09 18:36:54 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-05-09 18:39:22 +0300 |
commit | f9d7313bb7ddee9c8bbf5718a3302eb925d9144a (patch) | |
tree | 9f63f7e9b6a98e1a8f9dd34e0ea3b312ce4190b9 /source/blender/draw/intern/draw_subdivision.h | |
parent | e0e95f789576fec43550ef8aae8ae94151f7967f (diff) |
Fix T97853: Crash with edit mode X-ray and subdivision
The mesh drawing code used a different mesh to check whether or not to
draw face dots and to actually retrieve them. The fix is moving the
responsibility of determining whether to use subsurf face dots to the
creation of `MeshRenderData` where the mesh used for drawing is
known, rather than doing it at a higher level.
Differential Revision: https://developer.blender.org/D14855
Diffstat (limited to 'source/blender/draw/intern/draw_subdivision.h')
-rw-r--r-- | source/blender/draw/intern/draw_subdivision.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_subdivision.h b/source/blender/draw/intern/draw_subdivision.h index 6f571084620..2d24d07e037 100644 --- a/source/blender/draw/intern/draw_subdivision.h +++ b/source/blender/draw/intern/draw_subdivision.h @@ -194,7 +194,6 @@ void DRW_create_subdivision(const struct Scene *scene, const float obmat[4][4], const bool do_final, const bool do_uvedit, - const bool use_subsurf_fdots, const ToolSettings *ts, const bool use_hide); |