error in fix for ID property copy
authorCampbell Barton <ideasman42@gmail.com>
Fri, 25 Jun 2010 12:17:35 +0000 (12:17 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 25 Jun 2010 12:17:35 +0000 (12:17 +0000)
source/blender/blenkernel/intern/scene.c

index a2fdf35..719dc96 100644 (file)
@@ -199,7 +199,7 @@ Scene *copy_scene(Main *bmain, Scene *sce, int type)
        }
        
        if(sce->r.ffcodecdata.properties) { /* intentionally check scen not sce. */
-               scen->r.ffcodecdata.properties= IDP_CopyProperty(scen->r.ffcodecdata.properties);
+               scen->r.ffcodecdata.properties= IDP_CopyProperty(sce->r.ffcodecdata.properties);
        }
 
        /* NOTE: part of SCE_COPY_LINK_DATA and SCE_COPY_FULL operations