Fix ORCO never used for draw manager (Eevee)

Related to T52528.
This commit is contained in:
Dalai Felinto 2017-08-25 14:16:31 +02:00
parent 8e6c18a98f
commit 4e975b6b44
1 changed files with 1 additions and 1 deletions

View File

@ -1845,7 +1845,7 @@ static void draw_geometry(DRWShadingGroup *shgroup, Gwn_Batch *geom, const float
if (ob_data != NULL) {
switch (GS(ob_data->name)) {
case OB_MESH:
case ID_ME:
BKE_mesh_texspace_get_reference((Mesh *)ob_data, NULL, &texcoloc, NULL, &texcosize);
/* TODO, curve, metaball? */
default: