From ad7a03ef84d8adbe3c0a7608b08f090a190e2236 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 24 Jan 2008 22:43:42 +0000 Subject: minor fix --- release/scripts/wizard_curve2tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release') 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) -- cgit v1.2.3