diff options
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. |