WIP: anim/bone-collection-hierarchy-GUI #116020

Closed
Nate Rupsis wants to merge 3 commits from anim/bone-collection-hierarchy-GUI into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Member

Bone Collections Tree, building off of #115945.

This initial work sets up the scaffolding required for Bone Collections Tree view. The UI component renders, but initialization, and all other even handlers still need to be implemented.

TODO (list not comprehensive)

  • Initialize tree with Bone Collection(s).
  • Seeing active (selected) Bone Collection.
  • Update active state on new bone selection.
  • Adding new Bone Collection.
  • Renaming Bone Collection.
  • Removing Bone Collection.
  • Toggle Bone Collection visibility.
  • Bone Collection Reordering
  • Drag and Drop reordering?
  • Drag and Drop Nesting?
  • Ensure These still work:
    • Assign (Bone to Collection)
    • Remove (Bone from Collection)
    • Select (Bone from Collection)
    • Deselect
    • Solo Visibility
    • Show all

Most of the handlers for the Tree have been stubbed out (See GPv3 init from Reference). For full functionality, see completed GPv3 Layers template.
Hopefully the UI aspect is mostly taken care of, and it just need the logic.

One thing we should bring up (if we haven't already) is what is a nested collection called? For GPv3, they are called groups.


Reference:

Bone Collections Tree, building off of [#115945](https://projects.blender.org/blender/blender/pulls/115945/files#diff-4fe553b4113643fbe6c4b3b7fd88d368b35162a8). This initial work sets up the scaffolding required for Bone Collections Tree view. The UI component renders, but initialization, and all other even handlers still need to be implemented. TODO (list not comprehensive) - [ ] Initialize tree with Bone Collection(s). - [ ] Seeing active (selected) Bone Collection. - [ ] Update active state on new bone selection. - [ ] Adding new Bone Collection. - [ ] Renaming Bone Collection. - [ ] Removing Bone Collection. - [ ] Toggle Bone Collection visibility. - [ ] Bone Collection Reordering - [ ] Drag and Drop reordering? - [ ] Drag and Drop Nesting? - Ensure These still work: - [ ] Assign (Bone to Collection) - [ ] Remove (Bone from Collection) - [ ] Select (Bone from Collection) - [ ] Deselect - [ ] Solo Visibility - [ ] Show all Most of the handlers for the Tree have been stubbed out (See GPv3 init from Reference). For full functionality, see completed GPv3 Layers template. Hopefully the UI aspect is mostly taken care of, and it just need the logic. One thing we should bring up (if we haven't already) is what is a nested collection called? For GPv3, they are called groups. --- ## Reference: * [GPv3 Layers initilization](https://projects.blender.org/blender/blender/pulls/109197). Great starting point for tree view * [interface_template_grease_pencil_layer_tree.cc](https://projects.blender.org/blender/blender/src/commit/9a57601fb4f555660072682cf9c475d1bd99dd63/source/blender/editors/interface/interface_template_grease_pencil_layer_tree.cc) full GPv3 Layers (UI Tree).
Nate Rupsis added 2 commits 2023-12-11 06:40:28 +01:00
Sybren A. Stüvel was assigned by Nate Rupsis 2023-12-11 06:40:40 +01:00
Nathan Vegdahl was assigned by Nate Rupsis 2023-12-11 06:40:54 +01:00
Nate Rupsis reviewed 2023-12-11 06:41:33 +01:00
@ -130,0 +127,4 @@
# "active_index",
# rows=rows,
# )
row.template_bone_collection_tree()
Author
Member

Python entry point for the whole Bone Collection Tree

Python entry point for the whole Bone Collection Tree
Nate Rupsis added 1 commit 2023-12-11 06:43:27 +01:00
nrupsis changed target branch from main to anim/bone-collection-hierarchy 2023-12-11 06:44:10 +01:00
nrupsis changed target branch from anim/bone-collection-hierarchy to main 2023-12-11 06:44:28 +01:00
dr.sybren changed target branch from main to anim/bone-collection-hierarchy 2023-12-11 14:17:21 +01:00
dr.sybren changed target branch from anim/bone-collection-hierarchy to main 2023-12-11 14:17:35 +01:00

Pull request closed

Sign in to join this conversation.
No reviewers
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
1 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#116020
No description provided.