2.79 -> 2.8 Maintain Volume constraint unexpected behaviour. #57376

Closed
opened 2018-10-25 00:57:24 +02:00 by Predrag Lazic · 10 comments

System Information
Linux version 4.9.13-1-MANJARO (gcc version 6.3.1 20170109 (GCC) x86_64 GNU/Linux
4 x Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz
amd Radeon hd 6750M

Blender Version
2.79 - f4dc9f9d68
2.8 - 13cfb641c6

Short description of error
Primary Issue:
Linking proxy Rig does not handle scale of bones the same as in 2.79

Secondary Issue:
Updating the original file (such as changing bone rotation locks) doesn't transfer over to proxy file.

Exact steps for others to reproduce the error
Attached File.
In 2.8:
New File
File Link, select file, select collection, pick only group
Object - Relations - make proxy - newtonPendulum
In pose mode scale does not work on sphere rotary bones unless axis is specifically pressed (it does in 2.79). Scale behaviour is different from 2.79 rig also.
blender_2018.10.24_Newton(01).blend

System Information Linux version 4.9.13-1-MANJARO (gcc version 6.3.1 20170109 (GCC) x86_64 GNU/Linux 4 x Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz amd Radeon hd 6750M Blender Version 2.79 - f4dc9f9d68b 2.8 - 13cfb641c6d Short description of error Primary Issue: Linking proxy Rig does not handle scale of bones the same as in 2.79 Secondary Issue: Updating the original file (such as changing bone rotation locks) doesn't transfer over to proxy file. Exact steps for others to reproduce the error Attached File. In 2.8: New File File Link, select file, select collection, pick only group Object - Relations - make proxy - newtonPendulum In pose mode scale does not work on sphere rotary bones unless axis is specifically pressed (it does in 2.79). Scale behaviour is different from 2.79 rig also. [blender_2018.10.24_Newton(01).blend](https://archive.blender.org/developer/F5218748/blender_2018.10.24_Newton_01_.blend)
Author

Added subscriber: @particl3s

Added subscriber: @particl3s
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Philipp Oeser self-assigned this 2018-10-25 10:31:19 +02:00
Member

regarding scaling: this worked in 2.79b, but shows same reported behavior in 2.79 master
regarding scaling behavior (which seems to have swapped axis): this also changed somewhere along 2.79b and 2.79 master
So those master changes are in 2.8 as well...

Will have a look when that happened (and for a possible reason), confirming for now...

regarding scaling: this worked in 2.79b, but shows same reported behavior in 2.79 master regarding scaling behavior (which seems to have swapped axis): this also changed somewhere along 2.79b and 2.79 master So those master changes are in 2.8 as well... Will have a look when that happened (and for a possible reason), confirming for now...
Member

behavior changed in ec76f38b09 and again in a9509a2f8a

Looking at fix now...

behavior changed in ec76f38b09 and again in a9509a2f8a Looking at fix now...
Philipp Oeser removed their assignment 2018-10-25 16:01:02 +02:00
Alexander Gavrilov was assigned by Philipp Oeser 2018-10-25 16:01:02 +02:00
Member

Added subscriber: @angavrilov

Added subscriber: @angavrilov
Member

Note: afaics, this is not related to proxyfying, same behavior can be observed in the file itself.
It is just that the Maintain Volume constraint has changed its behavior.

This happens only if the Free Axis specified in the constraint is actually locked on the bone itself (this is the case in the file).
If I understand correctly, this setup will actually have no Volume maintaining effect at all, if you try this in 2.79b you can remove the constraint and scaling behaves exactly the same as with the constraint.
@particl3s : any reason it is there at all?

Now with the mentioned commits in effect [also in 2.8], this will end up looking like scaling wont happen at all, but afaics the doings of the constraint just compensate the normal scaling so it ends up being same size.
I wouldnt be sure what the expected behavior in this case would actually be?

I would like to hand this of to @angavrilov (or at least ask for his opinion), as this might not be a bug at all in the end...

Note: afaics, this is not related to proxyfying, same behavior can be observed in the file itself. It is just that the `Maintain Volume` constraint has changed its behavior. This happens only if the `Free Axis` specified in the constraint is actually locked on the bone itself (this is the case in the file). If I understand correctly, this setup will actually have no Volume maintaining effect at all, if you try this in 2.79b you can remove the constraint and scaling behaves exactly the same as with the constraint. @particl3s : any reason it is there at all? Now with the mentioned commits in effect [also in 2.8], this will end up looking like scaling wont happen at all, but afaics the doings of the constraint just compensate the normal scaling so it ends up being same size. I wouldnt be sure what the expected behavior in this case would actually be? I would like to hand this of to @angavrilov (or at least ask for his opinion), as this might not be a bug at all in the end...
Philipp Oeser changed title from 2.79 -> 2.8 rig proxy unexpected behaviour. to 2.79 -> 2.8 Maintain Volume constraint unexpected behaviour. 2018-10-25 16:02:35 +02:00

Well, you'd expect from the name that the whole point of the constraint is to maintain volume, i.e. sxsysz = const; and in 2.79 it wasn't the case: the only situation where 2.79 worked correctly was when sx = sy = sz, i.e. uniform scaling.

Well, you'd expect from the name that the whole point of the constraint is to maintain volume, i.e. sx*sy*sz = const; and in 2.79 it wasn't the case: the only situation where 2.79 worked correctly was when sx = sy = sz, i.e. uniform scaling.
Author

@lichtwerk The reason it's there is out of habit. Simply seemed like the right thing to do. Looks like I made a mistake.

@lichtwerk The reason it's there is out of habit. Simply seemed like the right thing to do. Looks like I made a mistake.
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

So looks like we can close this then?

So looks like we can close this then?
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
3 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#57376
No description provided.