Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Guetzkow <rjg>2020-12-05 11:48:04 +0300
committerRobert Guetzkow <gitcommit@outlook.de>2020-12-05 11:49:03 +0300
commit8c87cf0afccb2bb73a3575eaa58016cfec4e177a (patch)
tree7dfc68a8a7df9f255900258c4da4b01a977b652c /blenderkit/upload.py
parent6024a89ae2a5dbacb681874337e4bda2c3f86c25 (diff)
Fix T83386: Use type annotation instead of assignment
The Sapling Tree Gen add-on previously assigned the `FloatProperty` to `bend`. This caused accessing `bend` in calculations to return a reference to the `FloatProperty` instead of its value. This commit replaces the assignment with an annotation as it is the correct usage since the Python API changes for Blender 2.80. NOTE: The add-on currently has another problem T83360 which prevents it from working. For the implementation of the patch I had to comment out the usages of `props.leafDupliObj`. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D9747
Diffstat (limited to 'blenderkit/upload.py')
0 files changed, 0 insertions, 0 deletions