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>2009-05-04 00:47:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-05-04 00:47:29 +0400
commitf67ffd137dd4ea62aef8f1dfbca137b0daca0d01 (patch)
tree4244bf67ec8d2a3e7f6bc7057e7d375d9bf36b3f /source/gameengine/PyDoc
parentd85bbb8070f5d37c58694d8cb1378b4439b7eda8 (diff)
fix for a problem with setUV2 reported by cthames on blenderartist
http://blenderartists.org/forum/showpost.php?p=1369757&postcount=35 there was an undocumented second arg but may as well allow a single vector arg like setUV()
Diffstat (limited to 'source/gameengine/PyDoc')
-rw-r--r--source/gameengine/PyDoc/KX_VertexProxy.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/gameengine/PyDoc/KX_VertexProxy.py b/source/gameengine/PyDoc/KX_VertexProxy.py
index 114e0d88075..75bd4d788a6 100644
--- a/source/gameengine/PyDoc/KX_VertexProxy.py
+++ b/source/gameengine/PyDoc/KX_VertexProxy.py
@@ -86,11 +86,13 @@ class KX_VertexProxy(SCA_IObject):
@rtype: list [u, v]
@return: this vertexes UV (texture) coordinates.
"""
- def setUV2(uv):
+ def setUV2(uv, unit):
"""
Sets the 2nd UV (texture) coordinates of this vertex.
@type uv: list [u, v]
+ @param unit: optional argument, FLAT==1, SECOND_UV==2, defaults to SECOND_UV
+ @param unit: int
"""
def getRGBA():
"""