Page MenuHome

Armature Bone Tip Rotation Not Functional
Closed, ResolvedPublic

Description

System Information
OS: Manjaro 17.1.12 Hakoila
Kernel: x86_64 Linux 4.16.18-rt12-MANJARO
DE: KDE 5.50.0 / Plasma 5.13.5
CPU: Intel Core i5-2400S @ 4x 3.3GHz [57.0°C]
GPU: AMD TURKS (DRM 2.50.0 / 4.16.18-rt12-MANJARO, LLVM 6.0.1)
RAM: 2912MiB / 3925MiB

Blender Version
Broken: 798cdaeeb69
Worked: f4dc9f9d68b

Short description of error
Selecting Head of a Bone in Edit Mode and pressing R rotates Bone around it's base in 2.79.

Exact steps for others to reproduce the error
Add an Armature
Enter Edit Mode
Select Tip of Bone
Rotate.
Should work in 2.79 & not in 2.8

Details

Type
Bug

Event Timeline

Philipp Oeser (lichtwerk) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.
Philipp Oeser (lichtwerk) edited projects, added BF Blender: 2.8; removed BF Blender.

Confirmed.

Still works in 2.8 if you set pivot point to Individual Origins manually (transform center is then shifted to bones head here).

transform_around_single_fallback() used to force Individual Origins (but in 2.8 with multi-object-editing only if TransInfo_>data_len_all is 1). This is never true (it is -1 at this point) because countAndCleanTransDataContainer() is responsible for counting data_len_all, and that unfortunately is called after we enter transform_around_single_fallback().

Something like P820 is just a stupid try to solve this by not checking to absolute total of all containers, but just the current container (that will work if you have two armatures with one tip selected each, but fails when you have one armature with one selected on one with multiple...). Not sure what the best solution is then: one loop that just increments each containers data_len, then do the counting, then createTransArmatureVerts()?

Anyways, will kindly ask @Campbell Barton (campbellbarton) to take over...