Page MenuHome

Sapling Tree Generator python script fails to work
Needs Triage, NormalPublic


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/", line 1112, in invoke
    return self.execute(context)
  File "/usr/local/share/blender/2.91/scripts/addons/add_curve_sapling/", line 1104, in execute
  File "/usr/local/share/blender/2.91/scripts/addons/add_curve_sapling/", 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