macOS Sierra 10.12.6
Intel Iris Pro 1536 MB
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
- Prepare a .blend containing a linked group of objects.
- Create a new .blend and do File > Linked. Navigate to the group and select it.
- 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.
- (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.