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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-01-25 01:43:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-01-25 01:43:42 +0300
commitad7a03ef84d8adbe3c0a7608b08f090a190e2236 (patch)
tree01537914c628175dfb2e04779a1b67fa9e499a57 /release
parent64109d8a0d0bd5dbb5a87aa37397a8f4c575e03c (diff)
minor fix
Diffstat (limited to 'release')
-rw-r--r--release/scripts/wizard_curve2tree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/wizard_curve2tree.py b/release/scripts/wizard_curve2tree.py
index 5b454578db1..f11d797636f 100644
--- a/release/scripts/wizard_curve2tree.py
+++ b/release/scripts/wizard_curve2tree.py
@@ -1921,7 +1921,7 @@ class tree:
mat_pitch = RotationMatrix( angle, 3, 'r', cross1)
mat = mat * mat_pitch
if leaf_branch_roll_rand:
- mat_roll = RotationMatrix( leaf_branch_roll_rand * ((next_random_num(rnd_seed)-0.5)*360), 3, 'r', leaf_no * mat_pitch)
+ mat_roll = RotationMatrix( leaf_branch_roll_rand * ((next_random_num(rnd_seed)-0.5)*360), 3, 'r', leaf_no)
mat = mat * mat_roll
mat = mat.resize4x4() * TranslationMatrix(leaf_co)