Page MenuHome

Curves not displaying properly with "In Front" ticked in EDIT mode going through meshes.
Closed, ResolvedPublic

Description

System Information
Operating system: Ubuntu 18.04.1 LTS
Graphics card: GeForce GTX 950M

Blender Version
Broken: 2.80 (sub 43), branch: master, commit date: 2019-02-02 04:23, hash: 141c6073ca39, type: Release
build date: 2019-02-02, 11:01:21
Worked: 2.79 (sub 0)

Short description of error
(First, apologies if I'm mistaken by reporting this, because it's really hard to find if this was already reported by searching "in front".)

Curves (at least) do not show (in solid, lookdev and rendered modes) when going through meshes in EDIT mode with "In Front" ticked. The intersecting part is occluded by the mesh. They do show properly in object mode though.

Exact steps for others to reproduce the error
Add a curve and scale it to go beyond the limits of the default cube. Tick "In Front" in curve object properties under display section (old x-ray, I presume). The curve shows in front of the cube despite going through it, as expected. Go into edit mode. The curve is partially occluded by the cube now. This didn't occur in pre-2.8 .

Event Timeline

Sebastian Parborg (zeddb) triaged this task as Confirmed, Medium priority.Feb 8 2019, 3:09 PM

I have also found this to be the case with meshes, when one of them is set to "in front" and both are selected and going into edit mode, no matter which one is the active object. But I do not know if this is to be expected anyways in this not-so-common case.

I have just confirmed this behaviour didn't occur in 2.79. But I understand one couldn't edit both meshes at a time before 2.80. So I'm unsure if this is a bug as well. Please do tell me if I need to file a new bug in case. Thanks.

It might be relevant: Appending a mesh and curve from a 2.80 .blend into 2.79 renders the curve occluded in both object and edit modes.

@Eneko Castresana Vara (ecv) Edit Mesh mode cage will not support in-front option in multi-object editing.

But the case of the curve is relevant!