GSOC 2013 paint
[blender-staging.git] / source / gameengine / Rasterizer / RAS_OpenGLRasterizer / RAS_StorageIM.cpp
index b138f84ea974c43b2a43f0db6bac64d4d07ec77d..c8975c245cbd867a63888bd9b2a37d52c27077e4 100644 (file)
@@ -247,7 +247,7 @@ void RAS_StorageIM::IndexPrimitivesInternal(RAS_MeshSlot& ms, bool multi)
                        //ms.m_pDerivedMesh->drawMappedFacesTex(ms.m_pDerivedMesh, CheckTexfaceDM, mcol);
                        current_blmat_nr = current_polymat->GetMaterialIndex();
                        current_image = current_polymat->GetBlenderImage();
-                       ms.m_pDerivedMesh->drawFacesTex(ms.m_pDerivedMesh, CheckTexDM, NULL, NULL);
+                       ms.m_pDerivedMesh->drawFacesTex(ms.m_pDerivedMesh, CheckTexDM, NULL, NULL, DM_DRAW_USE_ACTIVE_UV);
                }
                return;
        }