After swapping the basis shape key to another one, the former basis key still affects the new one #79892

Open
opened 2020-08-18 19:14:54 +02:00 by David Kozma · 14 comments

Blender Version
2.91.0

What I try to do: I would like to make a later created shape key the basis one.
I can do it with moving it to the top, and setting the former basis key's "Relative To" setting to this new basis one.
It works as expected until I'd like to make further changes in the old basis key (now just a regular shape key)
It affects the current basis, where - by definition - there's no "relative to" setting, so it shouldn't be affected by anything.

I noticed that it does work as expected if I'm using the "shape key in edit mode" option - BUT it only behaves well until I come back to object mode. Then the new basis key instantaneously gets all the modifications I just made on the old basis.

The steps are below on an image with descriptions, but I attached the blend file too. Just change the shape key called "starting basis" and check what happens with the real basis one.

shapekeybug.png
shapekey_error.blend

Note: there was one time when I created a shape key pair where this whole thing worked as intended. But out of (literally) 6 tries, only one worked and I couldn't pinpoint what I did differently in that case.

**Blender Version** 2.91.0 What I try to do: I would like to make a later created shape key the basis one. I can do it with moving it to the top, and setting the former basis key's "Relative To" setting to this new basis one. It works as expected until I'd like to make further changes in the old basis key (now just a regular shape key) It affects the current basis, where - by definition - there's no "relative to" setting, so it shouldn't be affected by anything. I noticed that it does work as expected if I'm using the "shape key in edit mode" option - BUT it only behaves well until I come back to object mode. Then the new basis key instantaneously gets all the modifications I just made on the old basis. The steps are below on an image with descriptions, but I attached the blend file too. Just change the shape key called "starting basis" and check what happens with the real basis one. ![shapekeybug.png](https://archive.blender.org/developer/F8791471/shapekeybug.png) [shapekey_error.blend](https://archive.blender.org/developer/F8791474/shapekey_error.blend) Note: there was one time when I created a shape key pair where this whole thing worked as intended. But out of (literally) 6 tries, only one worked and I couldn't pinpoint what I did differently in that case.
Author

Added subscriber: @DavidKozma

Added subscriber: @DavidKozma

#81644 was marked as duplicate of this issue

#81644 was marked as duplicate of this issue

Added subscribers: @mano-wii, @ideasman42, @iss

Added subscribers: @mano-wii, @ideasman42, @iss

I can reproduce this, but I am not sure if this is a bug. @mano-wii or @ideasman42, do you know?

I can reproduce this, but I am not sure if this is a bug. @mano-wii or @ideasman42, do you know?

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

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

I'm not sure, either.
Bmesh updates/edits shape keys when exiting edit mode.
It is quite possible that it is updating the wrong shapekey.
So I risk confirming it as a bug for now. Further investigation is needed.

I'm not sure, either. Bmesh updates/edits shape keys when exiting edit mode. It is quite possible that it is updating the wrong shapekey. So I risk confirming it as a bug for now. Further investigation is needed.

Added subscriber: @3dpprofessor

Added subscriber: @3dpprofessor

Is this the same problem I found?

https://youtu.be/xSGake54S-8

If it's not a bug, it's at least inconstant behavior. I'd like to be able to animate the duplicates independently.

Is this the same problem I found? https://youtu.be/xSGake54S-8 If it's not a bug, it's at least inconstant behavior. I'd like to be able to animate the duplicates independently.

In #79892#1000527, @3dpprofessor wrote:
Is this the same problem I found?

https://youtu.be/xSGake54S-8

If it's not a bug, it's at least inconstant behavior. I'd like to be able to animate the duplicates independently.

Not sure if that is bug, but it is definitely unrelated to this report.
Duplicating object should duplicate it's data unless you choose to not do it. with own data what you posted shouldn't happen

> In #79892#1000527, @3dpprofessor wrote: > Is this the same problem I found? > > https://youtu.be/xSGake54S-8 > > If it's not a bug, it's at least inconstant behavior. I'd like to be able to animate the duplicates independently. Not sure if that is bug, but it is definitely unrelated to this report. Duplicating object should duplicate it's data unless you choose to not do it. with own data what you posted shouldn't happen

Added subscriber: @lukostello

Added subscriber: @lukostello

Added subscriber: @Mysteryem-2

Added subscriber: @Mysteryem-2

What happens with this setup is that the first shape key ends up relative to the second shape key, which happens to be relative to the first shape key. Editing either shape key will affect the other which is the behaviour I expect when two shape keys are relative to one another.

If, before step 3, in this example, you change "wannabe basis" so that it's relative to itself instead of "starting basis". When editing "starting basis" in step 5, it will no longer also affect "wannabe basis" because we made sure that "wannabe basis" was relative to itself instead of "starting basis".

The main issue here in my opinion is that Blender hides the key that the first shape key is relative to from the UI, despite the fact that it still has an effect as seen here, which can lead to confusing situations.

I think that either the first shape key should always be forced to be relative to itself, always act like it's relative to itself or its relative key should be made visible and modifiable in the UI.
The latter is probably the easiest and simplest since it doesn't change any existing behaviour and only requires a modification of the UI file properties_data_mesh.py.

What happens with this setup is that the first shape key ends up relative to the second shape key, which happens to be relative to the first shape key. Editing either shape key will affect the other which is the behaviour I expect when two shape keys are relative to one another. If, before step 3, in this example, you change "wannabe basis" so that it's relative to itself instead of "starting basis". When editing "starting basis" in step 5, it will no longer also affect "wannabe basis" because we made sure that "wannabe basis" was relative to itself instead of "starting basis". The main issue here in my opinion is that Blender hides the key that the first shape key is relative to from the UI, despite the fact that it still has an effect as seen here, which can lead to confusing situations. I think that either the first shape key should always be forced to be relative to itself, always act like it's relative to itself or its relative key should be made visible and modifiable in the UI. The latter is probably the easiest and simplest since it doesn't change any existing behaviour and only requires a modification of the UI file properties_data_mesh.py.

Added subscriber: @AdamJanz

Added subscriber: @AdamJanz

Added subscriber: @rwman

Added subscriber: @rwman
Campbell Barton self-assigned this 2022-02-16 13:01:06 +01:00
Philipp Oeser removed the
Interest
Modeling
label 2023-02-09 15:29:01 +01:00
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
8 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#79892
No description provided.