diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-30 13:21:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-30 13:21:42 +0300 |
commit | e5260470615635600b2cea2ff7f707453a21502e (patch) | |
tree | b7f9bee4aa437dd9d9986c950cee5e4475a69615 /release | |
parent | 7fd2a2da6fe7c57aecfe615725f57156e1f37721 (diff) |
retopo: use a smaller scale for faces that are modeled where 1.0==1m, will eventually try to use a method that doesnt depend on scale like this
grease pencil point.co wasnt a vector when it should be
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/modules/retopo.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/release/scripts/modules/retopo.py b/release/scripts/modules/retopo.py index 89d1066da52..e9cd6240740 100644 --- a/release/scripts/modules/retopo.py +++ b/release/scripts/modules/retopo.py @@ -23,7 +23,7 @@ import bpy EPS = 0.001 EPS_LINE_LINE = 0.02 EPS_COLLAPSE = 0.05 -EPS_HUB = 0.05 +EPS_HUB = 0.002 def get_hub(co, _hubs): @@ -158,9 +158,7 @@ class Spline: hub_prev = hub def get_points(stroke): - from Mathutils import Vector - # TODO - why isnt point.co a Vector? - return [Vector(tuple(point.co)) for point in stroke.points] + return [point.co.copy() for point in stroke.points] def get_splines(gp): for l in gp.layers: |