Fix #111711: bone collection visibility cannot be overridden #111775

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:111711 into main 2023-09-02 10:38:30 +02:00
Member

Since the switch from bone layers to bone collections in
998136f7a7, visibility could not be
overridden anymore. Moreso, layers could also be tweaked even in linked
state in 3.6 [those changes get lost on file reload, but it was still
useful and expected behavior].

Both are now restored.

Since the switch from bone layers to bone collections in 998136f7a7b520ef10c998c5af744eb0d464fdd3, visibility could not be overridden anymore. Moreso, layers could also be tweaked even in linked state in 3.6 [those changes get lost on file reload, but it was still useful and expected behavior]. Both are now restored.
Philipp Oeser added 1 commit 2023-09-01 09:38:47 +02:00
13be48861f Fix #111711: bone collection visibility cannot be overridden
Since the switch from bone layers to bone collections in
998136f7a7, visibility could not be
overridden anymore. Moreso, layers could also be tweaked even in linked
state in 3.6 [those changes get lost on file reload, but it was still
useful and expected behavior].

Both are now restored.
Philipp Oeser added this to the Animation & Rigging project 2023-09-01 09:38:55 +02:00
Philipp Oeser added the
Interest
Overrides
label 2023-09-01 09:39:04 +02:00
Philipp Oeser requested review from Bastien Montagne 2023-09-01 09:39:13 +02:00
Philipp Oeser requested review from Nathan Vegdahl 2023-09-01 09:39:24 +02:00
Philipp Oeser requested review from Sybren A. Stüvel 2023-09-01 09:39:30 +02:00
Author
Member

This survives my basic tests, but extended testing is appreciated

This survives my basic tests, but extended testing is appreciated
Author
Member

Noticed though that the UIList for the collections [or at least that single entry] is not really color-coded as overridden then (that should probably be in place before enabling overrides here?)

Noticed though that the UIList for the collections [or at least that single entry] is not really color-coded as overridden then (that should probably be in place before enabling overrides here?)
Bastien Montagne approved these changes 2023-09-01 12:09:37 +02:00
Bastien Montagne left a comment
Owner

LGTM

LGTM
Member

It looks good to me, and works as expected in my testing. I'm not familiar enough with overrides yet to feel confident signing off on this, so I'll leave that to @mont29 and/or @dr.sybren

Moreso, layers could also be tweaked even in linked state in 3.6

What do you mean by "tweaked"?

It looks good to me, and works as expected in my testing. I'm not familiar enough with overrides yet to feel confident signing off on this, so I'll leave that to @mont29 and/or @dr.sybren > Moreso, layers could also be tweaked even in linked state in 3.6 What do you mean by "tweaked"?
Author
Member

What do you mean by "tweaked"?

Visibility ON/OFF
That is what PROP_LIB_EXCEPTION is for in this patch.

  /**
   * This property is editable even if it is lib linked,
   * meaning it will get lost on reload, but it's useful
   * for editing.
   */
> What do you mean by "tweaked"? Visibility ON/OFF That is what `PROP_LIB_EXCEPTION` is for in this patch. ``` /** * This property is editable even if it is lib linked, * meaning it will get lost on reload, but it's useful * for editing. */ ```
Member

Visibility ON/OFF

Oooooh, got it. I misunderstood the other part of the description. I thought "Since the switch from bone layers to bone collections in 998136f7a7, visibility could not be overridden anymore" was already referring to that. So I thought you were referring to tweaking something beyond visibility.

(Also, somehow I accidentally edited your comment rather than responding. Reverted. I need more coffee, apparently.)

> Visibility ON/OFF Oooooh, got it. I misunderstood the other part of the description. I thought "Since the switch from bone layers to bone collections in 998136f7a7, visibility could not be overridden anymore" was already referring to that. So I thought you were referring to tweaking something beyond visibility. (Also, somehow I accidentally edited your comment rather than responding. Reverted. I need more coffee, apparently.)
Philipp Oeser merged commit b0d5f3dc22 into main 2023-09-02 10:38:30 +02:00
Philipp Oeser deleted branch 111711 2023-09-02 10:38:32 +02:00
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 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#111775
No description provided.