action.groups.show_expanded datablock is broken #63649
Labels
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#63649
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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.17134 64 Bits
Graphics card: GeForce GTX 1060 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 419.67
Blender Version
Broken: version: 2.80 (sub 57), branch: master, commit date: 2019-04-16 01:41, hash:
db80d5c560
Also broken in 2.79b (release)
Short description of error
Checking or unchecking the "Expanded" checkbox for groups of f-curves in the data-blocks view of the outliner does not change whether or not that group is expanded in the graph editor.
This is printed in info when change the checkbox:
bpy.data.actions["CubeAction"].(null) = True
Setting bpy.data.actions.groups.show_expanded using the console/a script also does not work.
Exact steps for others to reproduce the error
actions.groups
Added subscriber: @TrentStanley
Added subscribers: @ZedDB, @JacquesLucke
@ZedDB, are you sure we have a bug here?
It seems to work as expected.
Looks like the setting @TrentStanley is looking for (to expand the Action), is not available in the API.
Changed status from 'Open' to: 'Archived'
Right, my bad.
My bad for not expanding the action in the f-curve editor in the screenshot. However I've just downloaded the latest version of 2.8 available on builder.blender.org and it is still not working. Same for latest version of 2.79.
Changed status from 'Archived' to: 'Open'
@JacquesLucke The second time over, we looked at the dope sheet. This is for the f-curve editor
Ah, found the reason:
There are two separate flags for expansion. This is to make it possible to expand different groups in the graph editor and dopesheet.
However, only the one for the dopesheet is defined in
rna_action.c
. We could easily add the flag for the graph editor as well, I'm just not sure about the naming. Ideas?You mean that we should rename
AGRP_EXPANDED_G
to something else?Currently there is
in
rna_action.c
.To expose the
AGRP_EXPANDED_G
we need some other name likeshow_expanded_g
. But that looks quite ugly.Eh, I think that it would be ok for now just to stick with the bad naming so we are consistent with the code in place.
I do agree though that perhaps we could do something in the future about this.
Added subscriber: @brecht
There is no need to be consistent with obscure internal names, the Python API should have readable names.
The simple solution would be to rename
show_expanded
toshow_expanded_dopesheet
and addshow_expanded_graph
.Added subscriber: @ideasman42
This issue was referenced by
c9ed39925a
Changed status from 'Open' to: 'Resolved'