Page MenuHome

Lattice objects do not display properly in Edit mode
Closed, ResolvedPublic


System Information
Operating system: Win10
Graphics card: Repros on both nVidia Quadro 600 and AMD FirePro W2100 cards

Blender Version
Broken: 2.80 (sub 40), branch: master, commit date: 2019-01-08 18:20, hash: 12e9d52882e3
Worked: 2.79

Short description of error
Lattice objects do not show up properly in Edit mode:

  • nVidia Quadro: There are no connecting lines between the lattice vertices

  • nVidia Quadro and AMD FirePro: The vertices themselves are very small (too small -- does not obey the theme setting?) and uneven (general viewport quality issue I guess)

Exact steps for others to reproduce the error

  • Load the attached .blend
  • Go into edit mode on the single lattice there

Event Timeline

It draws here same as with your second image. And this is by design, matching 2.7 well enough.

In your first image do you get any errors in the console? How about with --debug-gpu as argument?

No errors/warnings/otherwise on normal console. Attached is the --debug-gpu output though (very noisy as all pointer movements generate output :-/ so I tried to do the least amount of movement) and I'm unsure what to look for:

This log doesn't tell much in fact. Anything out of --debug?

I think its an Multisampling Problem.

Go in the Prefs and under General->OpenGL->choose "No Multisample"

Jacques Lucke (JacquesLucke) triaged this task as Confirmed, Medium priority.

Good catch! I can confirm that this issue is related to multisampling.
More specifically, it works fine when set to "No Multisample". Otherwise the lines disappear (after a restart).

Simple gif that shows what is going on:

@Clément Foucault (fclem): When I remove the lines with MULTISAMPLE_SYNC_ENABLE and MULTISAMPLE_SYNC_DISABLE in EDIT_LATTICE_draw_scene(...), it seems to work as expected. However, I don't know what impact that change would have..