Bone Envelope and Bone Size tools appear to have switched functions #72903

Closed
opened 2020-01-04 22:09:41 +01:00 by Sam Brubaker · 18 comments

Version: 2.82 alpha (Jan. 3rd, a854...) Linux 64 bit. Bug also occurs in current stable 2.81a

This bug requires no example file to reproduce.

How to reproduce:

  • Create an armature object with "Envelope" as its display type
  • Enter edit mode and open the toolbar
  • Use the "Bone Size" tool on a bone
  • Use the "Envelope Size" tool on a bone

The Bone Size tool edits the envelope size, and the Envelope Size tool affects the bone endpoint radius! That can't be right!

Version: 2.82 alpha (Jan. 3rd, a854...) Linux 64 bit. Bug also occurs in current stable 2.81a This bug requires no example file to reproduce. How to reproduce: - Create an armature object with "Envelope" as its display type - Enter edit mode and open the toolbar - Use the "Bone Size" tool on a bone - Use the "Envelope Size" tool on a bone The Bone Size tool edits the envelope size, and the Envelope Size tool affects the bone endpoint radius! That can't be right!
Author

Added subscriber: @rocketman

Added subscriber: @rocketman
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

I would confirm this, checking...

I would confirm this, checking...
Member

Well, might have to backflip on this; from the code-side this looks like intended behavior:

we have:

  • TFM_BONE_SIZE

  • TFM_BONE_ENVELOPE

  • TFM_BONE_ENVELOPE_DIST

  • TFM_BONESIZE really goes to TFM_BONE_ENVELOPE_DIST in initTransform()

  • check createTransArmatureVerts for TFM_BONE_ENVELOPE & TFM_BONE_ENVELOPE_DIST (TFM_BONE_ENVELOPE does the radius head/tail related stuff...)

Bit confused atm., needs further investigation...

Well, might have to backflip on this; from the code-side this looks like intended behavior: we have: - `TFM_BONE_SIZE` - `TFM_BONE_ENVELOPE` - `TFM_BONE_ENVELOPE_DIST` - `TFM_BONESIZE` really goes to `TFM_BONE_ENVELOPE_DIST` in `initTransform()` - check `createTransArmatureVerts` for `TFM_BONE_ENVELOPE` & `TFM_BONE_ENVELOPE_DIST` (`TFM_BONE_ENVELOPE` does the radius head/tail related stuff...) Bit confused atm., needs further investigation...
Member

This comment was removed by @lichtwerk

*This comment was removed by @lichtwerk*
Member

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

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

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

Added subscribers: @WilliamReynish, @dr.sybren

Added subscribers: @WilliamReynish, @dr.sybren
Member

So thinking about this further, the naming is not even that misleading, the overall Bone Size tool [can only be changed on the whole bone, not individually for head/tail] might be understood as additional envelope distance, whereas the Bone Envelope tool itself can influence head/tail individually and also changes envelope of course [just not the additional distance].

Might be a bit confusing, both icons are unfortunate in my opinion:

  • the Bone Size tool is only relevant to BBones (which only uses its size for viewport display afaict) and Envelopes yet displays as octahedral?
  • the icon for the Bone Envelope tool seems to have an emphasis on the drawn envelope, almost suggesting it is only there for altering the additional distance whereas its main purpose is altering head/tail radii...

Not sure what to do with this report...

@WilliamReynish
@dr.sybren

So thinking about this further, the naming is not even that misleading, the overall `Bone Size` tool [can only be changed on the whole bone, not individually for head/tail] might be understood as additional envelope distance, whereas the `Bone Envelope` tool itself can influence head/tail individually and also changes envelope of course [just not the additional distance]. Might be a bit confusing, both icons are unfortunate in my opinion: - the Bone Size tool is only relevant to BBones (which only uses its size for viewport display afaict) and Envelopes yet displays as octahedral? - the icon for the Bone Envelope tool seems to have an emphasis on the drawn envelope, almost suggesting it is only there for altering the additional distance whereas its main purpose is altering head/tail radii... Not sure what to do with this report... @WilliamReynish @dr.sybren
Author

@lichtwerk please repeat the steps with the transform side panel visible (N). You will notice that the tool which is called "Bone Envelope" does not alter the bone's envelope distance value at all. It only effects the radius size of the bone's head and/or tail. Likewise, the tool which is called "Bone Size" affects only the envelope distance, and not the radius (size) of anything. It's backwards.

@lichtwerk please repeat the steps with the transform side panel visible (N). You will notice that the tool which is called "Bone Envelope" does not alter the bone's envelope distance value at all. It only effects the radius size of the bone's head and/or tail. Likewise, the tool which is called "Bone Size" affects only the envelope distance, and not the radius (size) of anything. It's backwards.
Author

Wait, I see now that you have not misunderstood anything. But I still don't think this is a matter of confusing names or icons. The tool's intended functions are quite clear already- they're just switched! One simply does what the other ought to do!

EDIT: Okay NOW I see what you mean about Bbones. In this display mode, the Bone Size tool stops affecting the evnelope size, and instead affects the viewport display size.

Seems like there are, in fact, THREE different functions, split between TWO available tools in ONE toolbar slot, and they're all wrong. Thank you so much for looking into this issue. I will now go stick my head the toilet

Wait, I see now that you have not misunderstood anything. But I still don't think this is a matter of confusing names or icons. The tool's intended functions are quite clear already- they're just switched! One simply does what the other ought to do! EDIT: Okay NOW I see what you mean about Bbones. In this display mode, the Bone Size tool stops affecting the evnelope size, and instead affects the viewport display size. Seems like there are, in fact, THREE different functions, split between TWO available tools in ONE toolbar slot, and they're all wrong. Thank you so much for looking into this issue. I will now go stick my head the toilet

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Campbell Barton was assigned by William Reynish 2020-01-06 21:01:45 +01:00

Added subscriber: @ideasman42

Added subscriber: @ideasman42

This is clearly a bug. They indeed are swapped. I had a brief look in the keymap and the tool definition, but it seems to be set correct there, so the issue must be somewhere deeper.

Assigning to @ideasman42 (feel free to re-assign as you wish).

This is clearly a bug. They indeed are swapped. I had a brief look in the keymap and the tool definition, but it seems to be set correct there, so the issue must be somewhere deeper. Assigning to @ideasman42 (feel free to re-assign as you wish).

This issue was referenced by e66e21e58d

This issue was referenced by e66e21e58d29e3b62b8bad28d567948619b7a5ba

This issue was referenced by dd2cdd436f

This issue was referenced by dd2cdd436f8cdcf946c4e803a3cab89a3d17c841

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
5 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#72903
No description provided.