- add new scene, "Full Copy", didn't copy radio settings - switch scene didn't reset radiosity baking (note that you can only do 1 radiosity scene in Blender, switch scene will free the radiosity data)
This commit is contained in:
@@ -56,6 +56,8 @@
|
|||||||
|
|
||||||
#include "BSE_view.h"
|
#include "BSE_view.h"
|
||||||
|
|
||||||
|
#include "radio.h"
|
||||||
|
|
||||||
#include "blendef.h" /* old */
|
#include "blendef.h" /* old */
|
||||||
#include "mydevice.h"
|
#include "mydevice.h"
|
||||||
|
|
||||||
@@ -127,7 +129,8 @@ void set_scene(Scene *sce) /* also see scene.c: set_scene_bg() */
|
|||||||
}
|
}
|
||||||
|
|
||||||
set_scene_bg(G.scene);
|
set_scene_bg(G.scene);
|
||||||
|
set_radglobal();
|
||||||
|
|
||||||
/* complete redraw */
|
/* complete redraw */
|
||||||
allqueue(REDRAWALL, 0);
|
allqueue(REDRAWALL, 0);
|
||||||
allqueue(REDRAWDATASELECT, 0); /* does a remake */
|
allqueue(REDRAWDATASELECT, 0); /* does a remake */
|
||||||
|
|||||||
@@ -338,6 +338,8 @@ Scene *copy_scene(Scene *sce, int level)
|
|||||||
single_obdata_users(0);
|
single_obdata_users(0);
|
||||||
single_mat_users_expand();
|
single_mat_users_expand();
|
||||||
single_tex_users_expand();
|
single_tex_users_expand();
|
||||||
|
|
||||||
|
scen->radio= MEM_dupallocN(sce->radio);
|
||||||
}
|
}
|
||||||
|
|
||||||
clear_id_newpoins();
|
clear_id_newpoins();
|
||||||
|
|||||||
Reference in New Issue
Block a user