Page MenuHome

X-Ray display not working on linked or instanced meshes
Closed, ArchivedPublic


System Information
macOS Sierra 10.12.6
Intel Iris Pro 1536 MB

Blender Version
Broken: 2.79 (Hash: 5bd8ac9) & 2.8 alpha 2 (Hash: a069d3dc8cc)

X-Ray Display not working for linked groups or group instances
Linked meshes and group instance objects do not appear in front of the other objects when X-Ray display is enabled.
The expected behavior is that enabling X-Ray would work, even with linked or instanced mesh data.
Instead, When X-Ray is enabled only the object axes get moved to the front while the mesh remains behind other objects.

Then I thought that maybe the main .blend was looking to the linked file and using the object's display settings from there,
but even when I went to the linked file and enabled X-Ray for the object and saved the .blend, it still did not show up in the main .blend.
This is consistent with the way group instances behave though, so I'm not surprised it didn't work. It's just something I tested.

Other object display settings such as Wire, Maximum Draw Type, etc. are working as expected. They can be set from the main blend.
(Changing these other display settings works for linked groups, but is not allowed for linked single objects, apparently by design.
Just another reason to always link groups instead of single objects, I suppose.)

Exact steps for others to reproduce the error

  1. Prepare a .blend containing a linked group of objects.
  2. Create a new .blend and do File > Linked. Navigate to the group and select it.
  3. Once the linked group has been added to the scene, go to the Object tab and under Display enable X-Ray.

Observe that X-Ray is not working. Mesh objects behind other mesh objects still remain occluded.

  1. (Optional - same concept but with Group Instances)

Add a new object and group it.
Add a Group Instance of that grouped object.
Move it behind another object in the scene and enable X-Ray.
Observe that it doesn't work.



Event Timeline

Bastien Montagne (mont29) lowered the priority of this task from Needs Triage by Developer to Needs Information from User.Aug 24 2018, 10:02 AM

Please follow our submission template and guidelines, also read these tips about bug reports, and make a complete, valid bug report, with required info, precise description of the issue (only ONE issue per report!), precise steps to reproduce it, small and simple .blend and/or other files to do so if needed, etc.

Yevgeny Makarov (jenkm) raised the priority of this task from Needs Information from User to Needs Triage by Developer.Aug 24 2018, 11:07 AM

Can be said simply:

When X-Ray is enabled for the duplicator/parent object,
the DupliObject or DupliGroup still not "x-ray".

Although other options such as Wire, Maximum Draw Type, etc. are inherited.

Thanks for the feedback. I'll keep descriptions more concise in the future, and will be sure to always include a .blend.

Bastien Montagne (mont29) claimed this task.

Ah OK. Well, thanks for the report, but as the tooltip says, this is unsupported for duplicator drawing. So that’s just known limitation, no bug here.