Weeping Willow preset in "Add Curve: Sapling" add-on broken #42207
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#42207
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
Linux Mint 17, 64-bit
Blender Version
Broken: the dev version from master branch pulled today.
Date: 2014-10-13 14:27
Hash: 8e1ae53
I have not tested the released version, so no idea if that is broken there too.
Short description of error
A tree made with the "Add Curve: Sapling" add-on, "weeping_willow" preset broken when using armature.
Exact steps for others to reproduce the error
No attached .blend file. This can be consistently reproduced from a new project in 1 minute:
Result: error pops-up, and you lose the settings dialogs.
Traceback (most recent call last):
KeyError: 'bpy_prop_collection[key]: key "bone029.002" not found'
location: :-1
location: :-1
Other preset seem ok. I got a similar error only with weeping_willow preset.
Changed status to: 'Open'
Added subscriber: @jehan
Added subscriber: @lichtwerk
can confirm this, will have a look...
Added subscriber: @NikoLeopold
"weeping_willow" preset has pruning turned on so this situation will expose a bug with armatures and pruning in general.
pruning might delete splines and create new one which is not reflected in the code's mapping of "splineToBone"
was testing this a bit but dont have time to finish this so just dropping two testpatches here for inspiration.
by no means a solution, will get rid of the error but will introduce a mismatch of parentbones...
T42207_first_try.patch T42207_second_try.patch
Added subscriber: @BrendonMurphy
Changed status from 'Open' to: 'Resolved'
removed pruning from weeping willow preset.
https://developer.blender.org/rBA7b0dc56934743e2019b22fea78b972008d0d73a5
Note, I will try to create blender internal preset system at a later date.
closing report.