diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-03-21 18:13:54 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-03-21 18:13:54 +0400 |
commit | c3e37cf15fd685496acde0d46781340def98a5a2 (patch) | |
tree | 2c8d75a1c2edeb611cb80c746de7a5ea3c4b4550 /doc | |
parent | b06f238bb0e8a6526094e3ccf170fdae2a8b72df (diff) |
Fix #30622: documentation example code for bge.types.KX_MeshProxy did not work,
using fix suggested by Ryan King.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/rst/bge.types.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/rst/bge.types.rst b/doc/python_api/rst/bge.types.rst index fda05bb6ed5..bcef816dc9d 100644 --- a/doc/python_api/rst/bge.types.rst +++ b/doc/python_api/rst/bge.types.rst @@ -1807,7 +1807,7 @@ Game Types (bge.types) for mesh in object.meshes: for m_index in range(len(mesh.materials)): - for v_index in range(mesh.getVertexArrayLength(mat)): + for v_index in range(mesh.getVertexArrayLength(m_index)): vertex = mesh.getVertex(m_index, v_index) # Do something with vertex here... # ... eg: colour the vertex red. |