- 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 "radio.h"
|
||||
|
||||
#include "blendef.h" /* old */
|
||||
#include "mydevice.h"
|
||||
|
||||
@@ -127,6 +129,7 @@ void set_scene(Scene *sce) /* also see scene.c: set_scene_bg() */
|
||||
}
|
||||
|
||||
set_scene_bg(G.scene);
|
||||
set_radglobal();
|
||||
|
||||
/* complete redraw */
|
||||
allqueue(REDRAWALL, 0);
|
||||
|
||||
@@ -338,6 +338,8 @@ Scene *copy_scene(Scene *sce, int level)
|
||||
single_obdata_users(0);
|
||||
single_mat_users_expand();
|
||||
single_tex_users_expand();
|
||||
|
||||
scen->radio= MEM_dupallocN(sce->radio);
|
||||
}
|
||||
|
||||
clear_id_newpoins();
|
||||
|
||||
Reference in New Issue
Block a user