Library-Override Not able to edit Keyframe value in sidebar panel in graph-editor #81965

Closed
opened 2020-10-22 17:09:20 +02:00 by Ali Najafi · 17 comments

System Information
Operating system: Linux-5.9.1-1-MANJARO-x86_64-with-arch-Manjaro-Linux 64 Bits
Graphics card: AMD Radeon (TM) R9 390 Series (HAWAII, DRM 3.39.0, 5.9.1-1-MANJARO, LLVM 10.0.1) X.Org 4.6 (Core Profile) Mesa 20.1.8

Blender Version
Broken: version: 2.91.0 Beta, branch: master, commit date: 2020-10-21 22:57, hash: b0f34eee30
also broken on blender 2.83.7 and 2.9

Short description of error
IDK if this is a bug or not, key-frame in Graph-Editor is not editable in sidebar and values are grayed out.

Exact steps for others to reproduce the error

  1. link a collection/character/object
  2. object > relation > make library override
  3. animate
  4. try to change a keyframe's value in graph-editor's sidebar Fcruve > active keyframe.
    open the linked_override.blend file, try to change the selected key's value in graph editor's sidebar

bug.png
graph_key.zip

**System Information** Operating system: Linux-5.9.1-1-MANJARO-x86_64-with-arch-Manjaro-Linux 64 Bits Graphics card: AMD Radeon (TM) R9 390 Series (HAWAII, DRM 3.39.0, 5.9.1-1-MANJARO, LLVM 10.0.1) X.Org 4.6 (Core Profile) Mesa 20.1.8 **Blender Version** Broken: version: 2.91.0 Beta, branch: master, commit date: 2020-10-21 22:57, hash: `b0f34eee30` also broken on blender 2.83.7 and 2.9 **Short description of error** IDK if this is a bug or not, key-frame in Graph-Editor is not editable in sidebar and values are grayed out. **Exact steps for others to reproduce the error** 1. link a collection/character/object 2. object > relation > make library override 3. animate 4. try to change a keyframe's value in graph-editor's sidebar Fcruve > active keyframe. open the linked_override.blend file, try to change the selected key's value in graph editor's sidebar ![bug.png](https://archive.blender.org/developer/F9036148/bug.png) [graph_key.zip](https://archive.blender.org/developer/F9036144/graph_key.zip)
Author

Added subscriber: @shylon

Added subscriber: @shylon

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Added subscriber: @mont29

Added subscriber: @mont29

Issue here is that for some reasons (?) this editor uses the animated ID as root of rna paths of these keyframes properties, when it should use the current Action data-block instead.

This is more of an issue for #animation_rigging and/or #user_interface projects really.

Issue here is that for some reasons (?) this editor uses the animated ID as root of rna paths of these keyframes properties, when it should use the current Action data-block instead. This is more of an issue for #animation_rigging and/or #user_interface projects really.

Added subscriber: @LucianoMunoz

Added subscriber: @LucianoMunoz

Its not a bug, its just not obvious, you have to go into the rig (original file) and make the option available in the custom property

See the image where it says "is library overridable"
2020-11-25 11_25_17-Settings.png

Since this breaks old rigs to work with 2.91 and on, maybe that option should be default on for creation of custom props and let the user turn off the ones he doesn't want to be editable in the linked rigs.

Or maybe blender should look at the file and if there is no "is library overridable" option stored assume its a yes.

Its not a bug, its just not obvious, you have to go into the rig (original file) and make the option available in the custom property See the image where it says "is library overridable" ![2020-11-25 11_25_17-Settings.png](https://archive.blender.org/developer/F9389393/2020-11-25_11_25_17-Settings.png) Since this breaks old rigs to work with 2.91 and on, maybe that option should be default on for creation of custom props and let the user turn off the ones he doesn't want to be editable in the linked rigs. Or maybe blender should look at the file and if there is no "is library overridable" option stored assume its a yes.

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

In #81965#1063081, @LucianoMunoz wrote:
Since this breaks old rigs to work with 2.91 and on, maybe that option should be default on for creation of custom props and let the user turn off the ones he doesn't want to be editable in the linked rigs.

I suspect that the option is off by default for efficiency. The library overrides system has to do a lot of comparisons, and having "overridable=off" by default helps to reduce the work.

In #81965#1041921, @mont29 wrote:
Issue here is that for some reasons (?) this editor uses the animated ID as root of rna paths of these keyframes properties, when it should use the current Action data-block instead.

Can you give us some more info? I don't quite follow what you're trying to say.

> In #81965#1063081, @LucianoMunoz wrote: > Since this breaks old rigs to work with 2.91 and on, maybe that option should be default on for creation of custom props and let the user turn off the ones he doesn't want to be editable in the linked rigs. I suspect that the option is off by default for efficiency. The library overrides system has to do a lot of comparisons, and having "overridable=off" by default helps to reduce the work. > In #81965#1041921, @mont29 wrote: > Issue here is that for some reasons (?) this editor uses the animated ID as root of rna paths of these keyframes properties, when it should use the current Action data-block instead. Can you give us some more info? I don't quite follow what you're trying to say.

@dr.sybren what about: "blender could look at the property and if there is no "is library overridable" option stored assume its a yes." ?, or "blender could look at the version of the rig file on load and say this is pre 2.91 hence all custom props should be overridable" .

For instance, this makes currently any rig even rain rig unusable with library overrides in 2.91.

@dr.sybren what about: "blender could look at the property and if there is no "is library overridable" option stored assume its a yes." ?, or "blender could look at the version of the rig file on load and say this is pre 2.91 hence all custom props should be overridable" . For instance, this makes currently any rig even rain rig unusable with library overrides in 2.91.

I'd rather wait for @mont29's feedback, because I have a feeling that his suggestion would fix things without adding such overhead.

I'd rather wait for @mont29's feedback, because I have a feeling that his suggestion would fix things without adding such overhead.

RNA path generated for those F-Curve properties uses the ID affected by the animation, not the ID owning the F-Curve (which should be the Action in typical cases).

graph_buttons.c:372, graph_panel_key_properties():

    RNA_id_pointer_create(ale->id, &id_ptr);

... should rather use something like

    RNA_id_pointer_create(ale->fcurve_owner_id, &id_ptr);

... I think (not tested at all though).

RNA path generated for those F-Curve properties uses the ID affected by the animation, not the ID owning the F-Curve (which should be the Action in typical cases). `graph_buttons.c:372`, `graph_panel_key_properties()`: ``` RNA_id_pointer_create(ale->id, &id_ptr); ``` ... should rather use something like ``` RNA_id_pointer_create(ale->fcurve_owner_id, &id_ptr); ``` ... I think (not tested at all though).

What would be the next step? anything i can further do to help?

What would be the next step? anything i can further do to help?
Member

Added subscriber: @icappiello

Added subscriber: @icappiello
Member

In #81965#1063081, @LucianoMunoz wrote:
Its not a bug, its just not obvious, you have to go into the rig (original file) and make the option available in the custom property

@dr.sybren @LucianoMunoz while this seems to be a real limitation or a bug to me. In the example @LucianoMunoz can toggle the "is library overridable" option because he's using a custom property, but in my simple test - where i have a linked geometry, create the library override and animated just transform channel - this cannot be done by toggling that option. The resulting overridden object will have f-curve values and handles grayed out in the sidebar.

graph_issue.zip

> In #81965#1063081, @LucianoMunoz wrote: > Its not a bug, its just not obvious, you have to go into the rig (original file) and make the option available in the custom property > @dr.sybren @LucianoMunoz while this seems to be a real limitation or a bug to me. In the example @LucianoMunoz can toggle the "is library overridable" option because he's using a custom property, but in my simple test - where i have a linked geometry, create the library override and animated just transform channel - this cannot be done by toggling that option. The resulting overridden object will have f-curve values and handles grayed out in the sidebar. [graph_issue.zip](https://archive.blender.org/developer/F9560892/graph_issue.zip)

In #81965#1063289, @mont29 wrote:
RNA path generated for those F-Curve properties uses the ID affected by the animation, not the ID owning the F-Curve (which should be the Action in typical cases).

graph_buttons.c:372, graph_panel_key_properties():

    RNA_id_pointer_create(ale->id, &id_ptr);

... should rather use something like

    RNA_id_pointer_create(ale->fcurve_owner_id, &id_ptr);

This exact example wouldn't work (this code really needs to work with ale->id), but the call to RNA_pointer_create() in the line above that certainly has that mistake. I've applied that in D10091.

> In #81965#1063289, @mont29 wrote: > RNA path generated for those F-Curve properties uses the ID affected by the animation, not the ID owning the F-Curve (which should be the Action in typical cases). > > `graph_buttons.c:372`, `graph_panel_key_properties()`: > ``` > RNA_id_pointer_create(ale->id, &id_ptr); > ``` > ... should rather use something like > ``` > RNA_id_pointer_create(ale->fcurve_owner_id, &id_ptr); > ``` This exact example wouldn't work (this code really needs to work with `ale->id`), but the call to `RNA_pointer_create()` in the line above that certainly has that mistake. I've applied that in [D10091](https://archive.blender.org/developer/D10091).

This issue was referenced by c3b68fa7b1

This issue was referenced by c3b68fa7b1cafa6c4e4b73830597582606082b6d

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sybren A. Stüvel self-assigned this 2021-01-12 15:48:48 +01:00
Thomas Dinges added this to the 2.92 milestone 2023-02-08 16:16:03 +01: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 project
No Assignees
7 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#81965
No description provided.