Fix image editor switching to no image when deselecting all faces for UV editing,

it should just keep the last image in that case.
This commit is contained in:
Brecht Van Lommel
2012-09-24 14:36:25 +00:00
parent ae7c3eaceb
commit 0c288b25c7

View File

@@ -408,8 +408,6 @@ static void image_refresh(const bContext *C, ScrArea *sa)
MTexPoly *tf;
if (em && EDBM_mtexpoly_check(em)) {
sima->image = NULL;
tf = EDBM_mtexpoly_active_get(em, NULL, sloppy, selected);
if (tf) {