minor issue with tree generator (Sapling add-on) #41099
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#41099
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 and graphics Card
Windows 7 Pro 64 bit, Intel on board grapics
Blender Version
Broken: 2.71
Short description of error
When creating a tree, the number of leaves doesn't change if branch splitting level is 2. With level 3 it works.
Exact steps for others to reproduce the error
Add curve -> Tree -> check "bevel". All of the other settings can remain as they are. Then goto section "Leaves" and check "show leaves". The number of leaves attached to the tree doesn't change if you change the value in the belonging input field. If you go to section "branch splitting" and increase the branch level to 3 then you can set the number of the leaves as you want and they are shown / attached correctly.
(Maybe this is actually a feature but to me it appears like a bug.)
Thanks.
Changed status to: 'Open'
Added subscriber: @JASMS
Added subscriber: @mont29
Added subscriber: @mutantbob
I found what I believe to be the problem. in the add_curve_sapling/utils.py:
When levels==2, then the n==1 clause shadows the leaf clause at the end. If we move the leaf clause to the top it works like you want:
Changed status from 'Open' to: 'Resolved'
Added subscriber: @BrendonMurphy
fixed https://developer.blender.org/rBA0e536cd1b7225ef7b6c9edd982b2d9d5c527ce92
closing