Merged changes in the trunk up to revision 42116.
[blender.git] / source / blender / blenkernel / intern / scene.c
index ae958db3d4a97bac6422012fd8a363aad24225a8..33fb15faa56c1bda15e5505519284745e0abbadc 100644 (file)
@@ -354,9 +354,11 @@ Scene *add_scene(const char *name)
        sce->r.mblur_samples= 1;
        sce->r.filtertype= R_FILTER_MITCH;
        sce->r.size= 50;
-       sce->r.planes= 24;
-       sce->r.imtype= R_PNG;
-       sce->r.quality= 90;
+
+       sce->r.im_format.planes= R_IMF_PLANES_RGB;
+       sce->r.im_format.imtype= R_IMF_IMTYPE_PNG;
+       sce->r.im_format.quality= 90;
+
        sce->r.displaymode= R_OUTPUT_AREA;
        sce->r.framapto= 100;
        sce->r.images= 100;