Sapling Tree Generator python script fails to work #80660

Closed
opened 2020-09-10 13:34:08 +02:00 by Faye · 4 comments

System Information
Operating system: Gentoo Linux

Blender Version
Broken: 2.91.0 Alpha (git commit e347b6b86bfc62f9580a5955b1c258e30c10badc)
Last Working: 2.90 official release

Short description of error
Trying to create a tree with the sapling tree generator causes the below python error message to occur twice. While the UI box to alter the tree gen settings appears, attempting to modify any generator settings will cause this error to pop up again each time you try.

Python: Traceback (most recent call last):
  File "/usr/local/share/blender/2.91/scripts/addons/add_curve_sapling/__init__.py", line 1112, in invoke
    return self.execute(context)
  File "/usr/local/share/blender/2.91/scripts/addons/add_curve_sapling/__init__.py", line 1104, in execute
    utils.addTree(self)
  File "/usr/local/share/blender/2.91/scripts/addons/add_curve_sapling/utils.py", line 1611, in addTree
    cu.use_uv_as_generated = True
AttributeError: 'Curve' object has no attribute 'use_uv_as_generated'

location: <unknown location>:-1

Exact steps for others to reproduce the error

  1. Enable the Sapling Tree Generator add-on in preferences, if not already enabled.
  2. In the 3D viewport, press Shift-A and then Curve → Sapling Tree Gen
**System Information** Operating system: Gentoo Linux **Blender Version** Broken: 2.91.0 Alpha (git commit e347b6b86bfc62f9580a5955b1c258e30c10badc) Last Working: 2.90 official release **Short description of error** Trying to create a tree with the sapling tree generator causes the below python error message to occur twice. While the UI box to alter the tree gen settings appears, attempting to modify any generator settings will cause this error to pop up again each time you try. ``` Python: Traceback (most recent call last): File "/usr/local/share/blender/2.91/scripts/addons/add_curve_sapling/__init__.py", line 1112, in invoke return self.execute(context) File "/usr/local/share/blender/2.91/scripts/addons/add_curve_sapling/__init__.py", line 1104, in execute utils.addTree(self) File "/usr/local/share/blender/2.91/scripts/addons/add_curve_sapling/utils.py", line 1611, in addTree cu.use_uv_as_generated = True AttributeError: 'Curve' object has no attribute 'use_uv_as_generated' location: <unknown location>:-1 ``` **Exact steps for others to reproduce the error** 1. Enable the Sapling Tree Generator add-on in preferences, if not already enabled. 2. In the 3D viewport, press `Shift-A` and then Curve → Sapling Tree Gen
Author

Added subscriber: @lue

Added subscriber: @lue
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Archived'

Changed status from 'Needs Triage' to: 'Archived'
Member

Looks like this is already fixed in the latest version and the code in question no longer exists. Using the latest version of Blender should work.

Looks like this is already fixed in the latest version and the code in question no longer exists. Using the latest version of Blender should work.
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#80660
No description provided.