Node editor context implementation #82691

Closed
opened 2020-11-13 15:50:31 +01:00 by Dalai Felinto · 14 comments

See #82366.

See #82366.
Author
Owner

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

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

Added subscriber: @dfelinto

Added subscriber: @dfelinto
Hans Goudey was assigned by Dalai Felinto 2020-11-19 15:44:38 +01:00
Author
Owner

The current implementation deviates a bit from the design, see: 72386c64ef. The main reason to change that was to conciliate mouse hover (X, Shift +D, A) and having an active modifier.

However, having a consistent editor with the rest of Blender is a bit more important. So the follow up proposed design is:

  • There is always an active modifier (unless there are no modifiers)
  • The mouse hover / shortcut behaviour we have now is fine (A works based on mouse, X, Shift+D works based on active).

The reasoning:
A is a user interface shortcut, so it is fine to be based on the mouse position.
X, Shift +D, are related to object data, so makes sense to work for the active modifier.

The current implementation deviates a bit from the design, see: 72386c64ef. The main reason to change that was to conciliate mouse hover (X, Shift +D, A) and having an active modifier. However, having a consistent editor with the rest of Blender is a bit more important. So the follow up proposed design is: * There is always an active modifier (unless there are no modifiers) * The mouse hover / shortcut behaviour we have now is fine (A works based on mouse, X, Shift+D works based on active). The reasoning: A is a user interface shortcut, so it is fine to be based on the mouse position. X, Shift +D, are related to object data, so makes sense to work for the active modifier.
Member

8a2b329a21 Addresses these points.

8a2b329a21 Addresses these points.
Author
Owner

Bug report: X, Shift+D work always in modifiers now, even if I'm in the constraint panel.

Bug report: X, Shift+D work always in modifiers now, even if I'm in the constraint panel.
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Should the "New" button be removed?

image.png

Should the "New" button be removed? ![image.png](https://archive.blender.org/developer/F9371894/image.png)
Member

6c241b2dd7

modifier_active_header_final-2020-11-25_15.00.32.mp4

The only remaining task here as far as I can tell is the modifiers ("slots") popover from Pablo's initial mockup.
image.png
This is a bit confusing to me though. First of all, I would expect it to show the "slots" analog, the modifiers, rather than the node groups themselves, considering the main drop-down has the list of node groups already.
Second, showing the full list of modifiers here might be somewhat odd, because there will be situations where most, if not all, modifiers are not node modifiers. If you only display the node modifiers,
the operation buttons here don't make much sense to show.

6c241b2dd7 |[modifier_active_header_final-2020-11-25_15.00.32.mp4](https://archive.blender.org/developer/F9374871/modifier_active_header_final-2020-11-25_15.00.32.mp4)| | -- | The only remaining task here as far as I can tell is the modifiers ("slots") popover from Pablo's initial mockup. ![image.png](https://archive.blender.org/developer/F9245146/image.png) This is a bit confusing to me though. First of all, I would expect it to show the "slots" analog, the modifiers, rather than the node groups themselves, considering the main drop-down has the list of node groups already. Second, showing the full list of modifiers here might be somewhat odd, because there will be situations where most, if not all, modifiers are not node modifiers. If you only display the node modifiers, the operation buttons here don't make much sense to show.
Member

Of course there is the breadcrumb text too, but I have to admit I've sort of split that into a separate task in my head, because the code area is quite different, it seems more general, and it doesn't relate specifically to this sort of interaction.

Of course there is the breadcrumb text too, but I have to admit I've sort of split that into a separate task in my head, because the code area is quite different, it seems more general, and it doesn't relate specifically to this sort of interaction.
Author
Owner

Ok to have the breadcrumb as a separate task, but then said task needs to be created. And it will probably be left for the "community" since we don't have this breadcrumb for materials either. Though I think it is still good to have.

Ok to have the breadcrumb as a separate task, but then said task needs to be created. And it will probably be left for the "community" since we don't have this breadcrumb for materials either. Though I think it is still good to have.
Author
Owner

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Hans Goudey was unassigned by Dalai Felinto 2020-11-26 10:54:52 +01:00
Pablo Vazquez was assigned by Dalai Felinto 2020-11-26 10:54:52 +01:00
Author
Owner

Besides all that I would say it is working beautifully. Great work Hans. Assigning to Pablo so he can test it.

Besides all that I would say it is working beautifully. Great work Hans. Assigning to Pablo so he can test it.
Member

Works like a charm <3

Works like a charm <3
Author
Owner

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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
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#82691
No description provided.