Page MenuHome

Selecting posebones while holding CTRL in weightpaint exits weightpaint mode
Closed, ArchivedPublic

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1660 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.08

Blender Version
Broken: version: 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash: rB0330d1af29c0
Worked: 2.83.5
Behavior changed in rB164f40c50a05

Short description of error
While Weightpainting a model rigged with bones, if you try to select another bone, while you do it, it exits the Weightpaint mode, 3d model goes to Object mode and the new bone is not selected.

Exact steps for others to reproduce the error

  1. Open the Weightpaint rigged.blend attached with Blender 2.90
  2. Select the armature and press TAB to activate Pose Mode
  3. Select the head bone
  4. Select the 3d model and press TAB to activate WeighPaint (If you can't select the 3D model, go to Edit > Lock Object Modes and deactivate it)
  5. Try to select the jaw or neck bone to see the weights applied to it (my case is CTRL + LMB) <-- At this point you get the bug, you dont select the other bone and set active the armature and weightpaint mode closes to Object mode.

Event Timeline

Campbell Barton (campbellbarton) changed the task status from Needs Triage to Needs Information from User.Sep 3 2020, 6:41 AM

This report is missing:

  • Last version that worked.
  • Exact steps to redo the error.
  • A blend file (unless there are simple steps to redo this from the default startup).

Where is this Weightpaint rigged.blend from? Can you upload this here?

Ricardo (INeedMana) updated the task description. (Show Details)EditedSep 3 2020, 3:22 PM

srry, uploaded right now, the blend file is uploaded.

Is there any problem with this bug? it's still in "Needs Information from User" but I think it's everything here.

Philipp Oeser (lichtwerk) changed the task status from Needs Information from User to Needs Triage.Sep 10 2020, 11:32 AM

Can confirm the behavior changed.
Will check what happened here -- and for what reason (but also not really sure why you select with Ctrl+LMB?)

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Sep 11 2020, 11:02 AM
Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Bug".

Behavior changed in rB164f40c50a05: Fix T79503: Selecting edit-bones while holding Ctrl crashes.

Will confirm since this seems like an unintentional change.

CC @Campbell Barton (campbellbarton)

Philipp Oeser (lichtwerk) renamed this task from Weightpaint and bone selection broken. to Selecting posebones while holding CTRL in weightpaint exits weightpaint mode.Sep 11 2020, 11:04 AM
Philipp Oeser (lichtwerk) updated the task description. (Show Details)
Campbell Barton (campbellbarton) closed this task as Archived.EditedSep 21 2020, 1:25 PM

Closing as this is working as intended.

  • When mixing pose-weight mode, this selects the pose-bone as expected.
  • If you don't want to exit weight-paint-mode, enable "Lock Object Modes" (which is on by default).
  • Holding Ctrl enables the option to select only objects. While this didn't work in previous releases, it did nothing.
Ricardo (INeedMana) added a comment.EditedSep 21 2020, 10:05 PM

Srry but this is not working as intended.

On point 1 you write is selecting the pose bone as expected, not true, it exits the weightpaint mode and dont select the new bone, just return to pose mode but dont select the bone you tried to select, for example, if you have head bone selected, go to weightpaint mode, and then try to select the neck bone, it exits the weightpaint mode and dont select neck bone, just stays on the head selected.

As you can see on this gif, weightpaint mode dont knows what bone you have selected, because after selecting another bone (neck or jaw) in weightpaint mode it still shows the head bones and dont update to neck or jaw weights.

This same bug appeared when going from Blender 2.79 to 2.80 and was fixed, and now, going from 2.83 to 2.90 appears again, you cant close this as an expected behaviour because now in 2.90 its impossible to rig properly bones to a mesh.

If you activate Lock Object modes" you cant change bones because you cant return to pose mode.

In earlier versions (2.83.5, 2.83.4, etc...) with lock object modes unlocked, you could select a bone without exiting weightpaint mode and weights was uploaded as you can see in this 2.83.5 gif:

This is an acceptable workflow for weightpainting bone weights, but tell me whats the new workflow for 2.90, because if you select a new bone you don't see the weights updated and can only see just one bone weights, independently on wich bone you have selected its always showing the first bone weights and not the new selected bone weights.

In Blender 2.90 it's impossible to rig properly a skeleton with various bones to a mesh.

To sum up:

  • Dont select the new bone
  • After select a new bone and return to weightpaint, weights are not updated to the new selected bone.
Campbell Barton (campbellbarton) reopened this task as Needs Triage.EditedSep 22 2020, 1:37 AM

I'm afraid you need to give *exact steps*, in point form since I'm unable to redo this error, also, the key shortcuts you describe don't work for me (TAB doesn't enter pose mode for example), best use factory settings when reporting bugs. I tried following your steps, assuming you meant Ctrl-TAB instead of TAB but it's working here.

Using your test file, this is working:

  • Open
  • Select the armature (LMB).
  • Select the mesh as well (Shift-LMB).
  • Enter weight paint mode (Ctrl-TAB, W)

Now select the pose pose using Ctrl-LMB, this works without exiting weight paint mode.


This also works (closer to the steps you describe):

  • Open
  • Select the armature (LMB)
  • Enter pose mode (Ctrl-TAB)
  • Select the mesh (LMB)
  • Enter weight paint mode (Ctrl-TAB, W)

Now select the pose pose using Ctrl-LMB, this works without exiting weight paint mode.


Re-opening, but marking as needs-information since I can't redo the issue, please describe the steps to redo the error in detail.

Campbell Barton (campbellbarton) changed the subtype of this task from "Bug" to "Report".Sep 22 2020, 1:40 AM

On my side, I think there was a misunderstanding regarding the Select With Mouse Button preference:

  • I was testing this with Right (RMB select)
  • with RMB select, indeed I can still repro given the steps
  • but with RMB select, you would just select the bone with RMB, doing Ctrl+RMB would enable the option to select only objects -- which then results in exiting posemode, true

Now if I do the same thing with Left (LMB select preference), doing Ctrl+LMB does not enable the option to select only objects, the bone is properly selected.
So in this case, I can not reproduce this issue.

@Ricardo (INeedMana) : are you using Select With Mouse Button Right? or Left?

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Needs Information from User.Sep 24 2020, 10:42 AM
Philipp Oeser (lichtwerk) removed Campbell Barton (campbellbarton) as the assignee of this task.

Ok, I restored the keymap config to be sure it wasnt my keymap config going to Edit > Preferences > Keymap and selecting Blender on the keymap dropdown menu at the top-left preferences window, now its working the same as older versions, but now the TAB Pie menu does not shows when pressing tab.

I'll have to see how to show TAB pie menu again and try it again, to see if the problem is in the TAB pie menu.

So does this happen with Factory Defaults as well?
File > Defaults > Load Factory Settings

ok, I can confirm the problem is in my key config, i'm so sorry. you can close the report.

The strange thing is that I already tried to restore keymaps after creating this report and still had the weightpaint issue, maybe I didnt selected well the options to correctly restore.

Philipp Oeser (lichtwerk) closed this task as Archived.Sep 24 2020, 2:39 PM
Philipp Oeser (lichtwerk) claimed this task.

OK, glad to hear!
[ could have asked for trying this with Factory Defaults right away, also my bad about confusing this with RMB select.. so, bit of a noise, but with a good ending :) ]

Will close then.

I found the problem that was all my fault, for future reports, I dont know why, but I had the Select deactivated on: Edit > Preferences > Keymap > 3D View > Weight Paint > Weight Paint (Global) > Select, the Select is assigned to CTRL + LMB and have to be activated (Marked with the tick on its left).