Page MenuHome

Regression: Automatic Constraint doesn't work if cursor is not moving
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 466.85

Also confirmed on
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1070 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71

Blender Version
Broken: version: 3.2.0 Beta, branch: master, commit date: 2022-05-16 16:16, hash: rBa2dacefb4636
Worked: 3.1.0 Master
Caused by rB21e72496a629: Fix T96728: 'Automatic Constraint' using the wrong orientation

Short description of error
Automatic Constraint, to lock an action to an axis, doesn't work properly if the cursor is not moving.
For operations such as scale, moving, it doesn't work at all. For rotating, it always defaults to the Z axis. For extruding, it still works as intended.
The behaviour is the same when trying to lock on a single axis or on a plane, also when using either object or edit mode.

More details:

  • On node editors (geometry, shader ...), Automatic Constraint works for moving, but not for scaling.
  • On the UV editor and the graph editor, moving and scaling don't work.

Exact steps for others to reproduce the error

  • Based on the default startup.
  • Try to move an object and use the automatic constraint (middle mouse click), with the cursor still. It will not confirm the action.
  • Repeat the step before, but now move the mouse while clicking the middle mouse button. This time, the action should work.
  • If needed, repeat the same with other operations, such as scale, rotate and extrude, and on other workspaces metioned above.

Event Timeline

Thanks for the report.
I can confirm. Quick MMB press used to lock along a axis in viewport.

Broke between 98d4872d7f42 - ee1d5fb9e467

Currently checking an other report so will do the bisect after (please comment if anyone is fixing/bisecting)

Pratik Borhade (PratikPB2123) renamed this task from Automatic Constraint doesn't work if cursor is not moving to Regression: Automatic Constraint doesn't work if cursor is not moving.May 19 2022, 1:17 PM
Pratik Borhade (PratikPB2123) triaged this task as High priority.
Pratik Borhade (PratikPB2123) updated the task description. (Show Details)