Blender Git Loki

Git Commits -> Revision 6b3351c

Revision 6b3351c by Campbell Barton (master)
August 31, 2009, 03:36 (GMT)
bugfix [#19254] KX_PolyProxy returns improper VertexIndex with triangles, using .getVertexIndex() and .v1, .v2, etc.

Surprising this wasn't noticed before. Any mix of quads/tris caused the face verts of either quads/tries (whichever comes last).

Tested by exporting the KX_MeshProxy and re-importing as an OBJ.

This fix assumes there are only 2 m_darray's per face array which is currently true, but wont be if edge support is added back.

Commit Details:

Full Hash: 6b3351c327771c6572ddfb3677db087b15bf06d1
SVN Revision: 22906
Parent Commit: ca96a75
Lines Changed: +24, -5

4 Modified Paths:

/source/gameengine/Ketsji/KX_PolyProxy.cpp (+5, -5) (Diff)
/source/gameengine/Rasterizer/RAS_MaterialBucket.h (+3, -0) (Diff)
/source/gameengine/Rasterizer/RAS_Polygon.cpp (+15, -0) (Diff)
/source/gameengine/Rasterizer/RAS_Polygon.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021