Animation: Child Of constraint does not clear inversion if Target was deleted #116567

Open
opened 2023-12-27 01:22:52 +01:00 by Matthew-Frey · 5 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: Intel(R) HD Graphics 2500 Intel 4.0.0 - Build 10.18.10.4425

Blender Version
Broken: version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-19 17:00, hash: rB55485cb379f7
Worked: (newest version of Blender that worked as expected)

My friend checked Blender version 3.6.5, and it was still there.

Short description of error
When I do a few steps with a rig then I try to move it, it wont move.

Exact steps for others to reproduce the error
I have a full rig.
I want to separate the foot, or any part of the rig.
So I reset pose. (in pose mode not in the armature properties)
Clear parent to all parts.
Select the bones I want to separate, then I separate them.
I then delete the rest of the rig that's left. (as an object, not in edit mode)
Then I want to move it, and it doesn't move. Nor can I rotate or scale.

I do know why this happens, it is because I have a Child Of on the bone that move the entire foot. But shouldn't it still detect that the bone that it was on know that it's gone? But if I delete the bones in edit mode that I don't want (instead of separate it then delete it as an object) then the Child Of will not work so then I can move/rotate/scale it.

The blender below has an example of what it looks like.

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: Intel(R) HD Graphics 2500 Intel 4.0.0 - Build 10.18.10.4425 **Blender Version** Broken: version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-19 17:00, hash: `rB55485cb379f7` Worked: (newest version of Blender that worked as expected) My friend checked Blender version 3.6.5, and it was still there. **Short description of error** When I do a few steps with a rig then I try to move it, it wont move. **Exact steps for others to reproduce the error** I have a full rig. I want to separate the foot, or any part of the rig. So I reset pose. (in pose mode not in the armature properties) Clear parent to all parts. Select the bones I want to separate, then I separate them. I then delete the rest of the rig that's left. (as an object, not in edit mode) Then I want to move it, and it doesn't move. Nor can I rotate or scale. I do know why this happens, it is because I have a Child Of on the bone that move the entire foot. But shouldn't it still detect that the bone that it was on know that it's gone? But if I delete the bones in edit mode that I don't want (instead of separate it then delete it as an object) then the Child Of will not work so then I can move/rotate/scale it. The blender below has an example of what it looks like.
Matthew-Frey added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-12-27 01:22:53 +01:00
Iliya Katushenock changed title from Weird with separating rig, or whatever. to Animation: Child Of constraint does not clear inversion if Target was deleted 2023-12-27 09:09:07 +01:00
Iliya Katushenock added
Module
Animation & Rigging
Status
Confirmed
and removed
Status
Needs Triage
labels 2023-12-27 09:09:16 +01:00

Thanks for report, i can confirm issue.
If you select any object for Target field in Child Of constraint, bones with this constrain will be locked for Inversion.
And if you delete object (selected in Target field) now, constraint will keep be locked until you change anything in it settings.

Thanks for report, i can confirm issue. If you select any object for `Target` field in `Child Of` constraint, bones with this constrain will be locked for `Inversion`. And if you delete object (selected in `Target` field) now, constraint will keep be locked until you change anything in it settings.
Author

Yes, but I think it should automatically disable the modifier because that bone/object isn't there anymore, it was just a way that I did it. I don't think we would need to go to the modifier and turn off, or turn off then on, set inverse, or clear parent to make it disabled.

Yes, but I think it should automatically disable the modifier because that bone/object isn't there anymore, it was just a way that I did it. I don't think we would need to go to the modifier and turn off, or turn off then on, set inverse, or clear parent to make it disabled.
Member

Minimal repro: 116567_minimal_repro.blend

Steps to repro with this file:

  1. Delete the cube.
  2. Try to move the armature object, and notice that the bone doesn't move with it.
  3. Disable and re-enable the Child Of constraint on the bone.
  4. Try to move the armature object again, and notice that now it works as expected.

From just testing, it does seem like Child Of constraints on bones don't get invalidated properly when their target is deleted. Note that the same issue does not show up for Child Of constraints on objects, which get properly invalidated.

Minimal repro: [116567_minimal_repro.blend](/attachments/a527a499-3f58-4981-8ce8-3596bded7ff0) Steps to repro with this file: 1. Delete the cube. 2. Try to move the armature *object*, and notice that the bone doesn't move with it. 3. Disable and re-enable the Child Of constraint on the bone. 4. Try to move the armature object again, and notice that now it works as expected. From just testing, it does seem like Child Of constraints on bones don't get invalidated properly when their target is deleted. Note that the same issue does *not* show up for Child Of constraints on objects, which get properly invalidated.
Nathan Vegdahl self-assigned this 2024-01-15 12:30:51 +01:00
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-02-21 23:13:05 +01:00
Member

@Matthew-Frey Was this fixed? If so, please link to the relevant PR or commit when closing.

@Matthew-Frey Was this fixed? If so, please link to the relevant PR or commit when closing.
Blender Bot added
Status
Needs Triage
and removed
Status
Archived
labels 2024-02-22 10:42:35 +01:00
Nathan Vegdahl added
Status
Confirmed
and removed
Status
Needs Triage
labels 2024-02-22 10:42:49 +01:00
Author

Sorry, didn't know I needed to state that before closing, new to this.

But the issue is still here, at least to my knowledge because I cannot download 4.0+ to test if they updated it, nor can I open the linked file above on a previous comment, because my CPU is bad, it cannot handle material preview.

I mean as long as you don't do my way, which is separate the bones in edit mode then delete the other armature in object mode, then you should be fine, and it is an easy fix to be able to move it.

Sorry, didn't know I needed to state that before closing, new to this. But the issue is still here, at least to my knowledge because I cannot download 4.0+ to test if they updated it, nor can I open the linked file above on a previous comment, because my CPU is bad, it cannot handle material preview. I mean as long as you don't do my way, which is separate the bones in edit mode then delete the other armature in object mode, then you should be fine, and it is an easy fix to be able to move it.
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
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#116567
No description provided.