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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
Looks good to me.
I just wonder why we have this use_subsurf_fdots member.
It seems to me that we could just check if there is a mr->me->runtime.subsurf_face_dot_tags inside the extractors and always use that bitmap if it exists.
But that would be just to organize the code a bit more. (not relevant).