--- Operating System, Graphics card ---
os: windows 7 64bit
gpu: nvidia quadro k4000
--- Blender version with error, and version that worked ---
error: r60235, official 2.68a
--- Short description of error ---
when triangulation of the modifier is shown in edit mdoe when the object has creases then the edges of the triangulation also get marked as creases
--- Steps for others to reproduce the error (preferably based on attached .blend file) ---
1. load blend file
2. switch to edit mode
3. disable/enable edit mode flag on the triangulation modifier and see the difference.
Description
Event Timeline
confirmed. note: this is only in the preview, when you apply the modifier you get no creases.
I'm assigning to myself because I'm planning some changes in the modifier and may as well get familiar with it.
But if anyone already has a fix, feel free to commit.
@Dalai: issue is not directly related with triangulate modifier, in fact. MEdge has a char to store crease, while BMesh uses a customdata for that.
Drawing code uses bmesh object to detect which edges are creased (see editor/space_view3d/drawobject.c, functions like draw_dm_creases__setDrawOptions & co), however I do not see anywhere cage DM being ported back into bmeditmesh (and I don’t think it should!)…
Did not dig further, but imho issue is here (drawing code should likely use edges from cage DM instead of BMesh edges). Better to ask Campbell or Brecht about that, though, not so familiar with this.
strange, I thought I had unassigned it from me (doing it now). I will look at it tomorrow, but meanwhile if someone wants to tackle it, be my guess ;)