WIP: Experiment: Invert Alt Behavior for Multi-Editing Tests #111093

Draft
Harley Acheson wants to merge 2 commits from Harley/blender:MultiObjectEditing into main

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

Experimental patch that makes multi-object editing default behavior.


This isn't useful on its own, but I wanted this on Gitea so it can act as a starting point for me and others to experiment with, improve, or complete.

Once applied if you have multiple objects selected then changing properties will affect all of them. You can hold down ALT to affect only the active object. Basically the opposite of how it is now. Although this generally "works", what is very incomplete is good user feedback. Not all properties work with multi-object editing and there is no way to tell which is which.

Another problem is that values for the active object are shown, rather than something informing that the value is indeterminate. We do now have an "indeterminate" state though. Adding UI_BUT_INDETERMINATE to any uiBut's drawflag will make it show it show a long dash. Examples here: #108210. But this patch does not do so. Not sure when and where to do this or determine which ones to affect.

With this patch applied this does exhibit the bad behavior shown in https://archive.blender.org/developer/maniphest/0053/0053950/index.html but note you would have to set up the situation manually as the blend file included in the report is too old.

Experimental patch that makes multi-object editing default behavior. --- This isn't useful on its own, but I wanted this on Gitea so it can act as a starting point for me and others to experiment with, improve, or complete. Once applied if you have multiple objects selected then changing properties will affect all of them. You can hold down ALT to affect only the active object. Basically the opposite of how it is now. Although this generally "works", what is very incomplete is good user feedback. Not all properties work with multi-object editing and there is no way to tell which is which. Another problem is that values for the active object are shown, rather than something informing that the value is indeterminate. We do now have an "indeterminate" state though. Adding UI_BUT_INDETERMINATE to any uiBut's drawflag will make it show it show a long dash. Examples here: #108210. But this patch does not do so. Not sure when and where to do this or determine which ones to affect. With this patch applied this does exhibit the bad behavior shown in https://archive.blender.org/developer/maniphest/0053/0053950/index.html but note you would have to set up the situation manually as the blend file included in the report is too old.
Harley Acheson added 1 commit 2023-08-13 18:56:24 +02:00
d4f8624b53 WIP: Multi Object Properties Editing
Experimental patch that makes multi-object editing default behavior.
Harley Acheson added this to the User Interface project 2023-08-13 23:05:38 +02:00
First-time contributor

Wonderful. The next challenge then, is also to make it so the properties users see aren't just the ones that belong to the active object.

The most straightforward solution here seems to be to only show those properties that the selected objects have in common, and just disregard the active object.

Wonderful. The next challenge then, is also to make it so the properties users see aren't just the ones that belong to the active object. The most straightforward solution here seems to be to only show those properties that the selected objects have in common, and just disregard the active object.
First-time contributor

Would it be a valid option to show multiple object data tabs side by side when more than one object type is selected?

bse.png

Each one would affect properties for all selected objects of that type.
For properties that will affect more than one object maybe show the number of affected objects in brackets like (7)

Would it be a valid option to show multiple object data tabs side by side when more than one object type is selected? ![bse.png](/attachments/00b9882b-1d3a-4425-8ce5-17003030e32b) Each one would affect properties for all selected objects of that type. For properties that will affect more than one object maybe show the number of affected objects in brackets like _(7)_
48 KiB
Harley Acheson added 1 commit 2023-09-19 00:39:29 +02:00
Member

The title of this PR is misleading since it sounds like there's active work on multi object properties editing ("object" is also a bit misleading btw, since this affects far more than objects btw), and that this is the PR for it. In reality this just inverts the alt key behavior making multi-editing the default; a lot of work would be needed to make this ready, and this isn't being worked on actively. #54862 outlines a number of design features that would have to be implemented, and as Brecht recently pointed out, a lot more design work is needed.

Dalai suggested this should be a PR in your personal repository only even, if the idea is to have it as a reference or starting point. Think this makes sense. I'd suggest a title like "Experiment: Invert alt key behavior to enable multi-editing by default", or something similar that actually describes what the PR does.


With the UI module being more active/organized again, the idea is to pick up tasks like these as multi week/month projects for the entire module to focus on, and hopefully we can start doing that in a few months. But there may be other priorities still, like better handling of unused data.

The title of this PR is misleading since it sounds like there's active work on multi object properties editing ("object" is also a bit misleading btw, since this affects far more than objects btw), and that this is the PR for it. In reality this just inverts the alt key behavior making multi-editing the default; a lot of work would be needed to make this ready, and this isn't being worked on actively. #54862 outlines a number of design features that would have to be implemented, and as Brecht recently pointed out, a lot more design work is needed. Dalai suggested this should be a PR in your personal repository only even, if the idea is to have it as a reference or starting point. Think this makes sense. I'd suggest a title like "Experiment: Invert alt key behavior to enable multi-editing by default", or something similar that actually describes what the PR does. --- With the UI module being more active/organized again, the idea is to pick up tasks like these as multi week/month projects for the entire module to focus on, and hopefully we can start doing that in a few months. But there may be other priorities still, like better handling of unused data.
Harley Acheson changed title from WIP: Multi Object Properties Editing to Experiment: Invert Alt Behavior for Multi-Editing Tests 2024-03-28 16:57:03 +01:00
Harley Acheson changed title from Experiment: Invert Alt Behavior for Multi-Editing Tests to WIP: Experiment: Invert Alt Behavior for Multi-Editing Tests 2024-03-28 16:58:27 +01:00
This pull request has changes conflicting with the target branch.
  • source/blender/editors/interface/interface_handlers.cc

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u MultiObjectEditing:Harley-MultiObjectEditing
git checkout Harley-MultiObjectEditing
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
No Assignees
4 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#111093
No description provided.