diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-02-15 20:56:42 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-02-15 20:56:42 +0400 |
commit | bc29b766dfb0ab1710acf686a4c8e05c3a05a35e (patch) | |
tree | 4956fbea32b3a0a38f2b12e478b67a2131fdbda6 /source/blender | |
parent | 4eb90a9d1e377d5cd2c92019e0e116d4f09c9862 (diff) |
Fix part of #34239: crash with cycles textured draw mode + dynamic topology sculpt.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/cdderivedmesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/cdderivedmesh.c b/source/blender/blenkernel/intern/cdderivedmesh.c index 66b457ec502..7f2d9437c3d 100644 --- a/source/blender/blenkernel/intern/cdderivedmesh.c +++ b/source/blender/blenkernel/intern/cdderivedmesh.c @@ -1431,7 +1431,7 @@ static void cdDM_drawMappedFacesMat(DerivedMesh *dm, */ if (cddm->pbvh && cddm->pbvh_draw && BKE_pbvh_type(cddm->pbvh) == PBVH_BMESH) { if (dm->numTessFaceData) { - setMaterial(userData, 1, NULL); + setMaterial(userData, 1, &gattribs); BKE_pbvh_draw(cddm->pbvh, NULL, NULL, NULL, FALSE); } |