Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-10-27 21:09:58 +0400
committerTon Roosendaal <ton@blender.org>2005-10-27 21:09:58 +0400
commitbab16038615ba4a5b8ea6ab55b77ca5ddc3f6189 (patch)
treef3cdb0542f3f63c893b078aa0a1a1955025d6455 /source/blender/src/header_info.c
parent3dbe0f007424bfb17f9eb3f12e88d08a65b3251a (diff)
Copy scene did not copy the markers... causing in memory errors on quit.
No real baddie, but still very good to fix!
Diffstat (limited to 'source/blender/src/header_info.c')
-rw-r--r--source/blender/src/header_info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/header_info.c b/source/blender/src/header_info.c
index 755af1870ff..eed01d7ac6e 100644
--- a/source/blender/src/header_info.c
+++ b/source/blender/src/header_info.c
@@ -311,7 +311,8 @@ Scene *copy_scene(Scene *sce, int level)
scen->theDag= NULL;
scen->toolsettings= MEM_dupallocN(sce->toolsettings);
-
+ duplicatelist(&(scen->markers), &(sce->markers));
+
obase= sce->base.first;
base= scen->base.first;
while(base) {