Fix T86874: Wireframe Overlay Mesh Primitives Grid, Circle. Add ME_EDGEDRAW, ME_EDGERENDER edge flags
Set flags on the inside edges for grid and circle triangle fan (mesh primitive nodes) so they are visible and selectable.
Differential D10878
Fix T86874: Wireframe Overlay Mesh Primitives Grid, Circle. Add ME_EDGEDRAW, ME_EDGERENDER edge flags Authored by Kris (Metricity) on Apr 2 2021, 1:56 AM.
Details Fix T86874: Wireframe Overlay Mesh Primitives Grid, Circle. Add ME_EDGEDRAW, ME_EDGERENDER edge flags Set flags on the inside edges for grid and circle triangle fan (mesh primitive nodes) so they are visible and selectable.
Diff Detail
Event TimelineComment Actions Nice, thanks! Seems these flags are actually added in many places, so this is quite reasonable. It's a shame there are no comments on their definitions, would have saved us all some time! Comment Actions @Kris (Metricity) Hey, thanks for the patch. You mentioned that you compared the flags of the edges of Mesh and BMesh and found out that it was not set in Mesh. I tried to follow your steps and reached there. But then I thought I wouldn't have figured it out myself for a long time. Thanks! Comment Actions Yes @Himanshi Kalra (calra) I did do exactly what you mentioned. I placed a breakpoint on the return and viewed mesh in Watch 1 and result in Watch 2 (Visual Studio). This only showed data for the first edge but luckily that was different anyway. I then played with a natvis config so I could view all the edge data in the debugger. |