TexFace to Material Settings big patch
[blender.git] / source / blender / editors / space_image / space_image.c
index afab4ede229b54e3935573069ce432815f577fc5..e345caf1359e73ca38d427af59f6eb08070e3bd2 100644 (file)
@@ -595,7 +595,7 @@ static void image_refresh(const bContext *C, ScrArea *UNUSED(sa))
                        
                        tf = EM_get_active_mtface(em, NULL, NULL, 1); /* partially selected face is ok */
                        
-                       if(tf && (tf->mode & TF_TEX)) {
+                       if(tf) {
                                /* don't need to check for pin here, see above */
                                sima->image= tf->tpage;