diff options
author | Johnny Matthews <johnny.matthews@gmail.com> | 2005-08-25 00:37:25 +0400 |
---|---|---|
committer | Johnny Matthews <johnny.matthews@gmail.com> | 2005-08-25 00:37:25 +0400 |
commit | a51896b5916fa7c17be3941ffe6b99aa335ca14a (patch) | |
tree | 3db854338f286c16b4b09e4cffac8365b3e02c51 /source/blender/src/header_info.c | |
parent | a978c122ee76ea947d55dda50a2dc97ae3ff8457 (diff) |
Move the settings in the Mesh Tools panel to the new toolsettings struct in Scene. These settings are now saved per scene.
Diffstat (limited to 'source/blender/src/header_info.c')
-rw-r--r-- | source/blender/src/header_info.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/src/header_info.c b/source/blender/src/header_info.c index d7944ab3d93..1f1aaeb84c1 100644 --- a/source/blender/src/header_info.c +++ b/source/blender/src/header_info.c @@ -309,6 +309,8 @@ Scene *copy_scene(Scene *sce, int level) scen->ed= NULL; scen->radio= NULL; scen->theDag= NULL; + scen->toolsettings= MEM_dupallocN(sce->toolsettings); + obase= sce->base.first; base= scen->base.first; @@ -324,6 +326,7 @@ Scene *copy_scene(Scene *sce, int level) /* level 1 */ G.scene= scen; + single_object_users(0); /* camera */ @@ -340,12 +343,12 @@ Scene *copy_scene(Scene *sce, int level) single_tex_users_expand(); scen->radio= MEM_dupallocN(sce->radio); + } clear_id_newpoins(); BPY_copy_scriptlink(&sce->scriptlink); - // make a private copy of the avicodecdata if (sce->r.avicodecdata) { |