Fix #104652: UV Face Dots randomized

Match the check from before 75db4c082b,
where we just checked that the face dots bitmap wasn't null.
This commit is contained in:
Hans Goudey 2023-02-14 11:27:34 -05:00
parent 715acf758c
commit 459c210154
1 changed files with 1 additions and 2 deletions

View File

@ -684,8 +684,7 @@ void mesh_buffer_cache_create_requested(struct TaskGraph *task_graph,
MeshRenderData *mr = mesh_render_data_create(
object, me, is_editmode, is_paint_mode, is_mode_active, obmat, do_final, do_uvedit, ts);
mr->use_hide = use_hide;
mr->use_subsurf_fdots = mr->me &&
mr->me->runtime->subsurf_face_dot_tags.size() == mr->me->totvert;
mr->use_subsurf_fdots = mr->me && !mr->me->runtime->subsurf_face_dot_tags.is_empty();
mr->use_final_mesh = do_final;
#ifdef DEBUG_TIME