Changing bbone_easein/out outside of Edit Mode crashes Blender #69165
Labels
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#69165
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 770/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.64
Blender Version
Broken: version: 2.81 (sub 3), branch: master, commit date: 2019-08-25 19:05, hash:
af8e8be7b1
Worked: (optional)
Description of error
Rigify keeps crashing when I click Generate.
I was debugging IT to find what's wrong and consistently found the crash at two particular instances where it tries to set a data.bone's bbone_ease_in property.
Rigify's code has it always do this when in object mode, despite this being a edit bone type thing. (it's not literally an editbone but it functionally is).
The code in Rigify should be changed to run this stuff in Edit mode but I assume your priority is to fix the crash.
Exact steps for others to reproduce the error
While in Object or Pose mode, change a pose.bone's bone.bbone_easein property, or change a data.bone's easein property.
bpy.context.object.data.bones- [x].bbone_easein = 1
bpy.context.object.pose.bones- [x].bone.bbone_easein = 1
bbone_ease.blend
2019-08-26 04-14-41.mp4
Added subscriber: @Phigon
#69171 was marked as duplicate of this issue
Added subscriber: @lichtwerk
Can confirm, caused by
f041d2f116
.Got a bandaid here, also checking why apparently editmode bbone settings are out of sync from pose/objectmode...
Added subscribers: @angavrilov, @ZedDB, @brecht
Reading my way into modeswitching on armatures, there is something wrong syncing/updating between editmode and posemode in relation to the bbone settings (as mentioned above -- setting something on EditBone will never really get carried over to PoseBone...)
But regarding the crash, shouldnt we play safe and do something more like (otherwise crashes in
rna_Armature_editbone_transform_update
)?P1083: #69165 bandaid
CC @brecht
CC @angavrilov
CC @ZedDB
Added subscriber: @LucianoMunoz
Would even consider this High priority, we shouldnt break stuff, so that important Addons are unusable imho.
Everyone involved: please put this back to
Confirmed, Medium
if you think this is exaggerating....Please ignore this part (due to my inexperience with rigging... these are not expected to be in sync, final result is the combination of edit and pose...)
Added subscriber: @Mets
@lichtwerk We (@Mets and I) will try to take a look at this soonish.
This issue was referenced by
1c21b79108
Changed status from 'Open' to: 'Resolved'
Of course my first patch would cause everything to explode, I expected nothing less!
Thanks for the fix @lichtwerk!
As @ZedDB said, we want to look into ways to make the split between pose and edit bone properties a bit clearer and more functional. But I'm a total noob at C and a hobby coder so it probably won't happen for a while, unless Sebastian does everything. :P