Deactivating position and rotation from IK-solver crashes Blender (ITaSC) #33176

Closed
opened 2012-11-14 21:34:04 +01:00 by Tobias Oelgarte · 7 comments

%%%I appended an example file with a selected bone that has an IK constraint. Since I'm using iTaSC i can deactivate "rotation" and "position" in the constraint panel. The problem is that Blender will always crash if i deselect both options (both on = fine, one on = fine, both of = crash). I can't reproduce this error with a more simple scenario. It seams to happen when two IK-Constraints deform the same chain (tree ik).%%%

%%%I appended an example file with a selected bone that has an IK constraint. Since I'm using iTaSC i can deactivate "rotation" and "position" in the constraint panel. The problem is that Blender will always crash if i deselect both options (both on = fine, one on = fine, both of = crash). I can't reproduce this error with a more simple scenario. It seams to happen when two IK-Constraints deform the same chain (tree ik).%%%

Changed status to: 'Open'

Changed status to: 'Open'

%%%PS: iTaSC also behaves strangely. I would expect the bone behind (parent) the selected bone to move if i move one of the red bones to the left or right. But it shows no rotation at all. This might be the reason for the crash as well or both influence each other.%%%

%%%PS: iTaSC also behaves strangely. I would expect the bone behind (parent) the selected bone to move if i move one of the red bones to the left or right. But it shows no rotation at all. This might be the reason for the crash as well or both influence each other.%%%

%%%Tried some more. The chain is always only as long as the shortest "chain length". In my example "seil-b" has a chain length of 3 and "plattform" has 1. Both together result in a chain length of 2 for "seil-b". That means that the IK constraint from "seil-b" has no influence on it's third bone "seil-a".%%%

%%%Tried some more. The chain is always only as long as the shortest "chain length". In my example "seil-b" has a chain length of 3 and "plattform" has 1. Both together result in a chain length of 2 for "seil-b". That means that the IK constraint from "seil-b" has no influence on it's third bone "seil-a".%%%
Member

%%%thanks for the sample file. I can reproduce the crash and I see where it's happening in the code. Will fix that soon.

Regarding the chain length issue, this is a known limitation. See this comment in the code:
Oh oh, there is already a chain starting from this channel and our chain is longer... Should handle this by moving the previous chain up to the beginning of our chain
// For now we just stop here
It is easy to work around this limitation: just make sure that all overlapping constraints have consistent chain length (i.e. use the same root bone) and iTaSC will behave as expected.
%%%

%%%thanks for the sample file. I can reproduce the crash and I see where it's happening in the code. Will fix that soon. Regarding the chain length issue, this is a known limitation. See this comment in the code: *Oh oh, there is already a chain starting from this channel and our chain is longer...* Should handle this by moving the previous chain up to the beginning of our chain // For now we just stop here It is easy to work around this limitation: just make sure that all overlapping constraints have consistent chain length (i.e. use the same root bone) and iTaSC will behave as expected. %%%
Member

%%%Fix the crash in revision 52803
%%%

%%%Fix the crash in revision 52803 %%%

%%%Closing this report as it has been fixed. %%%

%%%Closing this report as it has been fixed. %%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' 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
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#33176
No description provided.