Brought back the option "remove all used texture images". It was
committed to be default, but should react to the button in scene panels.
This commit is contained in:
@@ -2766,9 +2766,9 @@ void RE_Database_Free(Render *re)
|
||||
re->totvlak=re->totvert=re->totlamp=re->tothalo= 0;
|
||||
re->i.convertdone= 0;
|
||||
|
||||
//if(re->scene->r.scemode & R_FREE_IMAGE)
|
||||
if((re->r.scemode & R_PREVIEWBUTS)==0)
|
||||
free_all_imagetextures();
|
||||
if(re->scene->r.scemode & R_FREE_IMAGE)
|
||||
if((re->r.scemode & R_PREVIEWBUTS)==0)
|
||||
free_all_imagetextures();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user