Sculpt Mode Ctrl + Right Click Shortcut absent #38814

Closed
opened 2014-02-24 20:02:37 +01:00 by Angel Pat · 12 comments

System Information
Win7 x64, GTX 590

Blender Version
Broken: (Blender 2.69.11 Hash e7f3424)
Worked: (Official 2.69)

Short description of error
The shortcut CTR+Right Click is absent on newer builds (This is extremely useful when you want to switch from one object to another while scultpting, some kind of Zbrush "sub tools" on Blender.

Exact steps for others to reproduce the error

0.-With the default cube:

1.- Dublicate the defaut cube and put the copy above the first (original cube)
2.- Switch to sculpt mode on the Cube.001 (the copy)
3.- Now if you hold CTR + Right click and click the original cube you notice that you've switched from cube.001 to the original cube, now with this cube selected (The original), switch again to sculpt mode.
4.- Notice if you want to switch from one cube to another just use the CTR+Right click.

5.- What are the advantages of this? Imagine if you had a character and then you want to quickly sculpt a helmet or a hat, with this technique is very easy and quick to do it without having to switch manually from one object to another.

6.- Completely absent on newer builds....

**System Information** Win7 x64, GTX 590 **Blender Version** Broken: (Blender 2.69.11 Hash e7f3424) Worked: (Official 2.69) **Short description of error** The shortcut CTR+Right Click is absent on newer builds (This is extremely useful when you want to switch from one object to another while scultpting, some kind of Zbrush "sub tools" on Blender. **Exact steps for others to reproduce the error** 0.-With the default cube: 1.- Dublicate the defaut cube and put the copy above the first (original cube) 2.- Switch to sculpt mode on the Cube.001 (the copy) 3.- Now if you hold CTR + Right click and click the original cube you notice that you've switched from cube.001 to the original cube, now with this cube selected (The original), switch again to sculpt mode. 4.- Notice if you want to switch from one cube to another just use the CTR+Right click. 5.- What are the advantages of this? Imagine if you had a character and then you want to quickly sculpt a helmet or a hat, with this technique is very easy and quick to do it without having to switch manually from one object to another. 6.- Completely absent on newer builds....
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @AngelPat

Added subscriber: @AngelPat

#38837 was marked as duplicate of this issue

#38837 was marked as duplicate of this issue

Added subscriber: @brecht

Added subscriber: @brecht

It seems this got lost in {1fb9bb815a5df8ba3b4b2ebdaa4cad192fecd145}.

It seems this got lost in {1fb9bb815a5df8ba3b4b2ebdaa4cad192fecd145}.
Campbell Barton was assigned by Brecht Van Lommel 2014-02-24 20:51:31 +01:00

This was never intended to work.

Ctrl+RMB

  • Edit-mode allows selecting objects for vertex parenting.
  • Object-mode selects objects from their center points only.

Blender 2.4x (where this convention was established) didn't allow Ctrl+RMB select in sculpt mode either, from what I can see Ctrl+RMB worked for some time in 2.6x more or less by accident.

Not that the behavior is bad to have, just I wouldn't call it a bug.

Vertex, Weight & Texture paint all allow selection, but sculpt mode explicitly exits,

view3d_select_exec checks for sculpt mode and exits,

 else if (obact && obact->mode & OB_MODE_SCULPT)
 	return OPERATOR_CANCELLED;

I can't see why all the other paint modes would work but not sculpt.

The commit that changed this was 0e37b49a2c

Would this be because paint conflicts with LMB select?

This was never intended to work. Ctrl+RMB - Edit-mode allows selecting objects for vertex parenting. - Object-mode selects objects from their center points only. Blender 2.4x (where this convention was established) didn't allow Ctrl+RMB select in sculpt mode either, from what I can see Ctrl+RMB worked for some time in 2.6x more or less by accident. Not that the behavior is bad to have, just I wouldn't call it a bug. Vertex, Weight & Texture paint all allow selection, but sculpt mode explicitly exits, `view3d_select_exec` checks for sculpt mode and exits, else if (obact && obact->mode & OB_MODE_SCULPT) return OPERATOR_CANCELLED; I can't see why all the other paint modes would work but not sculpt. The commit that changed this was 0e37b49a2c Would this be because paint conflicts with LMB select?

Added subscriber: @junt

Added subscriber: @junt

◀ Merged tasks: #38837.

◀ Merged tasks: #38837.

As reported in #38837 (Can not select any bone in Weight Paint mode with Face selection masking) it seems this was also useful in weight paint mode, so even if it's not strictly a bug I think it's still important to keep this working.

As for why I added that OPERATOR_CANCELLED for sculpt, I don't remember well. I think back then right click was color sampling in paint modes, and you couldn't select other objects anyway, so in some way this made things more consistent because sculpt was the only mode where you could switch objects with just right click. Border and circle select are already be used for masking in sculpt mode outside of this selection operator so it doesn't make sense to handle there.

I would make ctrl + click outside of object mode always do object selection, without the center point thing like this: ctrl_click_paint_object_select.patch

As reported in #38837 (Can not select any bone in Weight Paint mode with Face selection masking) it seems this was also useful in weight paint mode, so even if it's not strictly a bug I think it's still important to keep this working. As for why I added that `OPERATOR_CANCELLED` for sculpt, I don't remember well. I think back then right click was color sampling in paint modes, and you couldn't select other objects anyway, so in some way this made things more consistent because sculpt was the only mode where you could switch objects with just right click. Border and circle select are already be used for masking in sculpt mode outside of this selection operator so it doesn't make sense to handle there. I would make ctrl + click outside of object mode always do object selection, without the center point thing like this: [ctrl_click_paint_object_select.patch](https://archive.blender.org/developer/F78971/ctrl_click_paint_object_select.patch)

@brecht, checked the patch and it breaks ctrl+rmb select behavior in object mode (where only the object centers should be considered), will check on having it work.

Am not really happy how this process is working where some keys are accessible by accident then we have to support some oddly mixed configurations. Since 2.70 allows to break/change some behavior we could accept the change.

IMHO the report about sculpt is related to there being no key bindings to exit sculpt mode, so users got used to exiting by selecting another object.

I checked the "Sculpt" keymap and RIGHTMOUSE isnt used anywhere, so we could allow object selection in that case. But this still leaves Weightpaint+facemask+posemode...

It's late in the release cycle to be making changes so.. I'll check on how this could improved.

@brecht, checked the patch and it breaks ctrl+rmb select behavior in object mode (where only the object centers should be considered), will check on having it work. Am not really happy how this process is working where some keys are accessible by accident then we have to support some oddly mixed configurations. Since 2.70 allows to break/change some behavior we could accept the change. IMHO the report about sculpt is related to there being no key bindings to exit sculpt mode, so users got used to exiting by selecting another object. I checked the **"Sculpt"** keymap and RIGHTMOUSE isnt used anywhere, so we could allow object selection in that case. But this still leaves Weightpaint+facemask+posemode... It's late in the release cycle to be making changes so.. I'll check on how this could improved.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Fixed 4a61df9c95 1dd7e759a0

Now sculpt mode can select without ctrl (as with other paint modes), and there is an exception for select+paint modes so they are treated like editmode.

Fixed 4a61df9c95 1dd7e759a0 Now sculpt mode can select without ctrl (as with other paint modes), and there is an exception for select+paint modes so they are treated like editmode.
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#38814
No description provided.