- bug fix, bug reported by Campbel, thanks! Keep in mind, that integration

of verse supports only sharing of mesh geometry now, you can't share
   vertex color, vertex weight, etc.
This commit is contained in:
2006-08-21 13:19:18 +00:00
parent 6dd9c8f6d6
commit 0dcfab3e32
3 changed files with 33 additions and 1 deletions

View File

@@ -916,7 +916,15 @@ void draw_tface_mesh(Object *ob, Mesh *me, int dt)
int editing= (G.f & (G_VERTEXPAINT+G_FACESELECT+G_TEXTUREPAINT+G_WEIGHTPAINT)) && (ob==((G.scene->basact) ? (G.scene->basact->object) : 0));
int start, totface;
#ifdef WITH_VERSE
if(me->vnode) {
/* verse-blender doesn't support uv mapping of textures yet */
dm->drawFacesTex(dm, NULL);
}
else if(ob==OBACT && (G.f & G_FACESELECT) && me && me->tface)
#else
if(ob==OBACT && (G.f & G_FACESELECT) && me && me->tface)
#endif
dm->drawMappedFacesTex(dm, draw_tface_mapped__set_draw, (void*)me);
else
dm->drawFacesTex(dm, draw_tface__set_draw);