Child of constraint target bug #67729

Closed
opened 2019-07-26 13:01:05 +02:00 by Anoca · 16 comments

Blender Version
Broken: pretty sure till the latest Release Candidate build
Worked: ???

Short description of error
I have seen this bug for quite a long time, and I'm still surprised that it hasn't been noticed by the developers for such long time.
If you try to change the parent target inside of the child of constraint, then clicking "set inverse" will no longer work properly.
Exact steps for others to reproduce the error
Get three objects in your scene.
Here's what you do:

  • give the first object you created a child of constraint
  • make the second object as the parent target and set inverse
  • now change the parent target with the third object

The first object will move in an unknown location as expected so you would have to set inverse again.
Unfortunately tho, the object will go in an unknown location aswell when you click set inverse.
The only way to fix it is by removing the constraint from the first object and make a new one, and this time directly make the third object as the parent target, when you set inverse, the object will go back to its original position just fine.

So what is this bug that confuses the software to do such thing?

This problem applies to bones aswell

**Blender Version** Broken: pretty sure till the latest Release Candidate build Worked: ??? **Short description of error** I have seen this bug for quite a long time, and I'm still surprised that it hasn't been noticed by the developers for such long time. If you try to change the parent target inside of the child of constraint, then clicking "set inverse" will no longer work properly. **Exact steps for others to reproduce the error** Get three objects in your scene. Here's what you do: - give the first object you created a child of constraint - make the second object as the parent target and set inverse - now change the parent target with the third object The first object will move in an unknown location as expected so you would have to set inverse again. Unfortunately tho, the object will go in an unknown location aswell when you click set inverse. The only way to fix it is by removing the constraint from the first object and make a new one, and this time directly make the third object as the parent target, when you set inverse, the object will go back to its original position just fine. So what is this bug that confuses the software to do such thing? This problem applies to bones aswell
Author

Added subscriber: @Maker26

Added subscriber: @Maker26

Added subscriber: @dark999

Added subscriber: @dark999

You forgot to upload a simplest possible .blend file to reproduce this issue

Please, update this report following strictly this form https://developer.blender.org/maniphest/task/edit/form/1/

The operating system, main memory size, GPU brand and model, GPU driver version and Blender hash or its build date may be needed by developers to investigate this issue

Check if you hardware and OS work properly outside Blender use and if they have latest update

Next time you can use Help > Report a Bug item and striclty follow this form. Attach a simplest possible .blend file, before you made a bugreport you must search if bug/issue is already reported from others users

You can check here https://www.blender.org/download/requirements/ if your hardware and software meet minimum Blender requirement, if not, you can consider this report as invalid until Blender developers validate this issue

thank you

You forgot to upload a simplest possible .blend file to reproduce this issue Please, update this report following strictly this form https://developer.blender.org/maniphest/task/edit/form/1/ The operating system, main memory size, GPU brand and model, GPU driver version and Blender hash or its build date may be needed by developers to investigate this issue Check if you hardware and OS work properly outside Blender use and if they have latest update Next time you can use Help > Report a Bug item and striclty follow this form. Attach a simplest possible .blend file, before you made a bugreport you must search if bug/issue is already reported from others users You can check here https://www.blender.org/download/requirements/ if your hardware and software meet minimum Blender requirement, if not, you can consider this report as invalid until Blender developers validate this issue thank you
Member

Added subscriber: @Mets

Added subscriber: @Mets
Member

I don't think things like GPU and drivers are likely to be the cause of this issue. And I think they followed the submission form reasonably well. :)

That said, I couldn't reproduce this, so a blend file would definitely be welcome. I recall sometimes having this issue with bones, but even then, hitting Clear Inverse and then Set Inverse fixed it. Here's the .blend where I tried reproducing the issue, but I couldn't:
childof_worksfine.blend

I don't think things like GPU and drivers are likely to be the cause of this issue. And I think they followed the submission form reasonably well. :) That said, I couldn't reproduce this, so a blend file would definitely be welcome. I recall sometimes having this issue with bones, but even then, hitting Clear Inverse and then Set Inverse fixed it. Here's the .blend where I tried reproducing the issue, but I couldn't: [childof_worksfine.blend](https://archive.blender.org/developer/F7629748/childof_worksfine.blend)

@Mets if blender is open with unsupported hardware and software all kind of error, issues and bugs can be see
how you know user specific of hardware him use?

@Mets if blender is open with unsupported hardware and software all kind of error, issues and bugs can be see how you know user specific of hardware him use?
Author

Huh, weird, it works fine for me aswell.... for objects only.
but you might have not read the text clearly
"This problem applies to bones aswell"

So, if this doesn't occur with objects, then it should occur with bones instead.

Here is the blend file:
childof With bones.blend

The first target is already set, YOU must change that target bone to the "Second Target" (I named it so you would know which one it is)
I also made a original location for the main bone so you would also know where that bone is supposed to stay normally
Edit: The original location is a bone named "LocationForMainBone"
Edit2: Make sure you are using the latest build. The release candidate build

Huh, weird, it works fine for me aswell.... for objects only. but you might have not read the text clearly "This problem applies to bones aswell" So, if this doesn't occur with objects, then it should occur with bones instead. Here is the blend file: [childof With bones.blend](https://archive.blender.org/developer/F7629825/childof_With_bones.blend) The first target is already set, YOU must change that target bone to the "Second Target" (I named it so you would know which one it is) I also made a original location for the main bone so you would also know where that bone is supposed to stay normally Edit: The original location is a bone named "LocationForMainBone" Edit2: Make sure you are using the latest build. The release candidate build
Member

True, knowing your OS and hardware can't hurt. And I'm all for enforcing stricter rules on bug reports :P But my gut tells me all we need to get to the bottom of this one is a blend file.

Edit: And as I was typing that we got one! Checking...

True, knowing your OS and hardware can't hurt. And I'm all for enforcing stricter rules on bug reports :P But my gut tells me all we need to get to the bottom of this one is a blend file. Edit: And as I was typing that we got one! Checking...

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish

Cannot reproduce any issues.

Cannot reproduce any issues.
Member

I can see the issue, but it does go away after hitting Clear Inverse.

In the provided blend file, change the Child Of target to "Second target" and hit Set Inverse. It would be expected that the bone goes back to the location of "LocationForMainBone" but it does not. Hitting Clear Inverse then Set Inverse again will work though.

Not sure if a bug, or if you're expected to hit Clear Inverse by design for it to go back to its original place. Seems odd to me for sure.

I can see the issue, but it does go away after hitting Clear Inverse. In the provided blend file, change the Child Of target to "Second target" and hit Set Inverse. It would be expected that the bone goes back to the location of "LocationForMainBone" but it does not. Hitting Clear Inverse then Set Inverse again will work though. Not sure if a bug, or if you're expected to hit Clear Inverse by design for it to go back to its original place. Seems odd to me for sure.

@Maker26 You forgot to update this report following Strictly this form https://developer.blender.org/maniphest/task/edit/form/1/ as already request

@Maker26 You forgot to update this report following **Strictly** this form https://developer.blender.org/maniphest/task/edit/form/1/ as already request
Author

So hitting "Clear Inverse" first and then "Set Inverse" would fix it. Alright, this should do the job.

This means that the bug has been solved and this topic is closed as solved :D

So hitting "Clear Inverse" first and then "Set Inverse" would fix it. Alright, this should do the job. This means that the bug has been solved and this topic is closed as solved :D
Member

This means we found a workaround, and there might still be a bug here to fix ^^

A dev will hopefully come around eventually and decide.

This means we found a workaround, and there might still be a bug here to fix ^^ A dev will hopefully come around eventually and decide.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
William Reynish self-assigned this 2019-07-26 16:18:58 +02:00
Member

Not a bug then? :P

Not a bug then? :P
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
4 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#67729
No description provided.