blender/source/gameengine/Rasterizer
Porteries Tristan 2a305580b2 BGE: Fix T38030: wrong vertex index returned by KX_PolyProxy
Fix T38030.
In c++ source we use one list for triangles and an other for quads, but KX_PolyProxy doesn't care about that and return the vertex offset in its list. So we just have to compute the offset of each RAS_DisplayArray to its previous to have an absolute vertex index.

Reviewers: moguri, campbellbarton, kupoman, agoose77, brita_, hg1

Reviewed By: agoose77, hg1

Projects: #game_engine

Maniphest Tasks: T38030

Differential Revision: https://developer.blender.org/D1324
2015-06-20 14:21:31 +02:00
..
RAS_OpenGLFilters code cleanup: bge warnings 2013-04-04 23:16:23 +00:00
RAS_OpenGLRasterizer BGE: Fix T43761 No re-creation of display list after a mesh modification. 2015-05-17 12:53:57 +02:00
CMakeLists.txt Ghost Context Refactor 2014-10-07 15:47:32 -05:00
RAS_2DFilterManager.cpp Ghost Context Refactor 2014-10-07 15:47:32 -05:00
RAS_2DFilterManager.h BGE Rasterizer Cleanup: Cleaning up some includes. 2013-11-04 19:22:10 +00:00
RAS_BucketManager.cpp Fix T38379: Mesh vertices only update when in cone of last created spotlight 2014-05-12 23:13:27 -07:00
RAS_BucketManager.h Fix T40199: bge.logic.LibFree() could cause crashes by leaving dangling pointers in the rasterizer. 2014-05-14 19:11:08 -07:00
RAS_CameraData.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
RAS_Deformer.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
RAS_FramingManager.cpp BGE: Extend Framing Mode + Camera sensor 2013-04-18 23:34:32 +00:00
RAS_FramingManager.h style cleanup 2012-09-16 04:58:18 +00:00
RAS_ICanvas.h BGE: New API method getDisplayDimensions 2015-04-07 18:32:25 +02:00
RAS_ILightObject.h Code cleanup: doxy comments 2014-05-14 15:00:47 +10:00
RAS_IPolygonMaterial.cpp BGE: Adding support for the Cast Only material option. 2014-03-19 23:57:49 -07:00
RAS_IPolygonMaterial.h BGE: Adding support for the Cast Only material option. 2014-03-19 23:57:49 -07:00
RAS_IRasterizer.h BGE: Code clean up for world (mist, background, ambient) 2015-03-23 22:49:38 +01:00
RAS_MaterialBucket.cpp BGE: Fix T38030: wrong vertex index returned by KX_PolyProxy 2015-06-20 14:21:31 +02:00
RAS_MaterialBucket.h BGE: Fix T38030: wrong vertex index returned by KX_PolyProxy 2015-06-20 14:21:31 +02:00
RAS_MeshObject.cpp BGE: Fix T38030: wrong vertex index returned by KX_PolyProxy 2015-06-20 14:21:31 +02:00
RAS_MeshObject.h BGE: Fix T38030: wrong vertex index returned by KX_PolyProxy 2015-06-20 14:21:31 +02:00
RAS_ObjectColor.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
RAS_Polygon.cpp BGE: Fix T38030: wrong vertex index returned by KX_PolyProxy 2015-06-20 14:21:31 +02:00
RAS_Polygon.h BGE: Fix T38030: wrong vertex index returned by KX_PolyProxy 2015-06-20 14:21:31 +02:00
RAS_Rect.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
RAS_texmatrix.cpp BGE: Some as of yet unmerged work I did in the Swiss branch. These changes include: 2012-12-18 20:56:25 +00:00
RAS_TexMatrix.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
RAS_TexVert.cpp Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define 2014-04-01 15:22:28 +11:00
RAS_TexVert.h BGE: Cleaning up the VBO code to use RAS_TexVert more directly instead of copying out pieces. This also gets rid of MapBuffers, which isn't available in OpenGL ES. Scenes that require constant VBO updates (like my skeletal mesh stress test) are now 10~13% faster. 2013-04-05 01:28:38 +00:00
SConscript Ghost Context Refactor 2014-10-07 15:47:32 -05:00