svn merge ^/trunk/blender -r43294:43338
[blender.git] / source / blender / editors / interface / interface_templates.c
index 96d2077b9b47c80a068a42bbf7f88a51f39019da..9cf93980c2c9cc0a448942e7aa2889c7be556e61 100644 (file)
@@ -2107,7 +2107,7 @@ static void list_item_row(bContext *C, uiLayout *layout, PointerRNA *ptr, Pointe
        name= (namebuf)? namebuf: "";
 
        /* hardcoded types */
-       if(itemptr->type == &RNA_MeshTextureFaceLayer || itemptr->type == &RNA_MeshColorLayer) {
+       if(itemptr->type == &RNA_MeshTexturePolyLayer || itemptr->type == &RNA_MeshLoopColorLayer) {
                uiItemL(sub, name, icon);
                uiBlockSetEmboss(block, UI_EMBOSSN);
                uiDefIconButR(block, TOG, 0, ICON_SCENE, 0, 0, UI_UNIT_X, UI_UNIT_Y, itemptr, "active_render", 0, 0, 0, 0, 0, NULL);