Sapling doesn't produce armature correctly with prune enabled. #37507

Closed
opened 2013-11-18 02:02:51 +01:00 by Andrew Fraser · 4 comments

System Information
Windows 7 Ultimate x64 (6.1.7600)

Blender Version
Broken: Blender 2.69 r60995, 2.68a r58537
Worked: Unknown

When adding a sapling, the armature becomes just the main branch when enabling the prune option.

Exact steps for others to reproduce the error

  1. Run blender, open default scene.
  2. Remove default cube.
  3. Press Space in 3D view -> type in sapling -> select 'Sapling: Add Tree'.
  4. In the Tool Shelf in the 'Sapling: add Tree' settings, navigate to the armature section via the main drop down.
  5. Select 'User armature'. Notice that the armature is built for all the branches and is visible in the 3D view.
  6. As in 4. Navigate to Pruning. Select 'Prune'. The armature becomes only the main branch.

Enabling prune first and then enabling the armature has the same result. This is consistently repeatable.

Having had a look at the python for the addon briefly, the pruning and spline growing is done before the armature growing, I presume that splineToBone list is being emptied during the spline growing with pruning on.

I have attached a blend file that shows the result of the above steps.TreePose.blend

This is the first bug I am reporting so if I am missing something I should have added please let me know and I will attempt to provide whatever useful information I can.

**System Information** Windows 7 Ultimate x64 (6.1.7600) **Blender Version** Broken: Blender 2.69 r60995, 2.68a r58537 Worked: Unknown When adding a sapling, the armature becomes just the main branch when enabling the prune option. **Exact steps for others to reproduce the error** 1. Run blender, open default scene. 2. Remove default cube. 3. Press Space in 3D view -> type in sapling -> select 'Sapling: Add Tree'. 4. In the Tool Shelf in the 'Sapling: add Tree' settings, navigate to the armature section via the main drop down. 5. Select 'User armature'. Notice that the armature is built for all the branches and is visible in the 3D view. 6. As in 4. Navigate to Pruning. Select 'Prune'. The armature becomes only the main branch. Enabling prune first and then enabling the armature has the same result. This is consistently repeatable. Having had a look at the python for the addon briefly, the pruning and spline growing is done before the armature growing, I presume that splineToBone list is being emptied during the spline growing with pruning on. I have attached a blend file that shows the result of the above steps.[TreePose.blend](https://archive.blender.org/developer/F28276/TreePose.blend) This is the first bug I am reporting so if I am missing something I should have added please let me know and I will attempt to provide whatever useful information I can.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @a.vector

Added subscriber: @a.vector
Andrew Hale was assigned by Brecht Van Lommel 2013-11-18 06:03:00 +01:00
Member

Changed status from 'Open' to: 'Duplicate'

Changed status from 'Open' to: 'Duplicate'
Member

✘ Merged into #38495.

✘ Merged into #38495.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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-addons#37507
No description provided.