Fixes for preview render in buttons:
- restored type choice compatiblity (plane, sphere, cube) with 2.41 release (sorry, will break saved files with CVS... my fault, should have known.) - removed lamp choices (lights now are different per preview, no fixed choices). - added checkered plane behind the plane preview. nicer for halos.
This commit is contained in:
@@ -265,6 +265,8 @@ static Scene *preview_prepare_scene(RenderInfo *ri, int id_type, ID *id, int pr_
|
||||
// sce->r.mode |= G.scene->r.mode & R_THREADS;
|
||||
/* this flag tells render to not execute depsgraph or ipos etc */
|
||||
sce->r.scemode |= R_PREVIEWBUTS;
|
||||
/* set world always back, is used now */
|
||||
sce->world= pr_main->world.first;
|
||||
|
||||
if(id_type==ID_MA) {
|
||||
Material *mat= (Material *)id;
|
||||
|
||||
Reference in New Issue
Block a user