[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2133] branches/ivygen/truman_ivy/ ivy_gen_truman.py: Updated for function name change, nearest_point -> closest_point_on_mesh
Andrew Hale
TrumanBlending at gmail.com
Mon Jul 18 09:22:43 CEST 2011
Revision: 2133
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2133
Author: trumanblending
Date: 2011-07-18 07:22:43 +0000 (Mon, 18 Jul 2011)
Log Message:
-----------
Updated for function name change, nearest_point -> closest_point_on_mesh
Modified Paths:
--------------
branches/ivygen/truman_ivy/ivy_gen_truman.py
Modified: branches/ivygen/truman_ivy/ivy_gen_truman.py
===================================================================
--- branches/ivygen/truman_ivy/ivy_gen_truman.py 2011-07-18 07:12:16 UTC (rev 2132)
+++ branches/ivygen/truman_ivy/ivy_gen_truman.py 2011-07-18 07:22:43 UTC (rev 2133)
@@ -370,7 +370,7 @@
def adhesion(loc, ob, max_l):
# Compute the adhesion vector by finding the nearest point
- nearest_result = ob.find_nearest(loc)
+ nearest_result = ob.closest_point_on_mesh(loc)
adhesion_vector = Vector((0, 0, 0))
if nearest_result[2] != -1:
# Compute the distance to the nearest point
More information about the Bf-extensions-cvs
mailing list