Regression: Global Viewport Visibility no longer readable when object is appended from another file #111447
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#111447
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 537.13
Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-10-25 23:16, hash:
rB32cc9ff03746
Worked: version: 3.0.0 Alpha, branch: master, commit date: 2021-09-26 21:28, hash:
rBd046a1f2fa46
Short description of error
Globally disable in viewports Bug. I just upgraded from version 2.9 to version 3.X I downloaded version 3.5.1 and noticed this problem, then I downloaded some other versions of 3.X and noticed the same problem, the same problem as in version 2. X I didn't have it.
When I create an object and then I disable the globally disable viewport option, and then I save the file, when I open another blender file and append to that object, it appears in the scene with globally disable viewport ON even if I saved it with this option to OFF. I know I can disable it, but this is very annoying when I append a rig and have to check that box 100 times on different meshes
Here is a video to understand better : https://youtu.be/AecByo8PYQw
I did that on 3.6.2 and 2.9.1 to see the differences.
Exact steps for others to reproduce the error
Then append the cube you just saved and you will see that it appears with globally disable in viewport ON, even if you saved it with off.
Globally disable in viewports Bugto Regression: Global Viewport Visibility no longer readable when object is appended from another fileHi @dfelinto , i can't find any notes about this in 3.0 release notes. Documentation is also not very detailed. I think the only clue to this behavior is:
high-poly objects that need to be instanced in other files
. But I don't see any clear descriptions of this exception. Can you say if this report should be opened?visibility flags are removed purposefully by @mont29 in
d7cf7d4048
https://projects.blender.org/blender/blender/src/branch/main/source/blender/blenkernel/intern/blendfile_link_append.cc#L551Commit message says "NOTE: This should be a non-behavioral change commit." but behavior has changed. 😅
I'll forward the report to devs before closing.
This code already existed before that refactor, in the instantiation code of
readfile.c
.Not entirely sure why it was not 'expressing' itself in 2.9x (likely because append instantiation was already handled elsewhere?), but would rather consider that as a bug, than current behavior, which is expected according to comments.
The rational is that you do not want a selected but hidden object in your scene. Note that disabling the
Select option
when appending should 'solve' that issue.When selecting multiple options I don't think the selection option should "override" the object "selectability" and "visibility".
When appending individual objects (specially if we do it via the asset shelf/asset browser) I think it is reasonable to force them to be visible and selectable.
Short of making different rules (for assets and regular append) I think we could just archive this. I wouldn't oppose to different behaviours though (as long as assets can be appended via asset shelf/browser as they do now).
More than time to archive this one then. Thanks for the report.