X-Ray display not working on linked or instanced meshes #56518

Closed
opened 2018-08-24 07:55:48 +02:00 by Seth L. · 8 comments

System Information
macOS Sierra 10.12.6
Intel Iris Pro 1536 MB

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

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.
  4. (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.
**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. 4. (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.
Author

Added subscriber: @quantumanomaly

Added subscriber: @quantumanomaly

Added subscriber: @mont29

Added subscriber: @mont29

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.

Please follow our [submission template and guidelines](https:*developer.blender.org/maniphest/task/edit/form/1/), also read [these tips about bug reports](https:*wiki.blender.org/wiki/Process/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.

Added subscriber: @jenkm

Added subscriber: @jenkm

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.

x-ray.blend

*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. [x-ray.blend](https://archive.blender.org/developer/F4365647/x-ray.blend)
Author

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

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

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2018-08-26 10:34:09 +02:00

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.

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.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#56518
No description provided.