Merged changes in the trunk up to revision 42116.
[blender.git] / source / blender / freestyle / intern / blender_interface / BlenderStrokeRenderer.cpp
index 01d416e46be8f872036eab261d881a480fd6eadb..103255d28d17b89153b17ca8905495ace35fa189 100644 (file)
@@ -78,8 +78,8 @@ BlenderStrokeRenderer::BlenderStrokeRenderer(Render* re, int render_count)
        freestyle_scene->r.gauss= old_scene->r.gauss;
        freestyle_scene->r.dither_intensity= old_scene->r.dither_intensity;
        BLI_strncpy(freestyle_scene->r.engine, old_scene->r.engine, sizeof(freestyle_scene->r.engine));
-       freestyle_scene->r.planes = R_PLANES32;
-       freestyle_scene->r.imtype = R_PNG;
+       freestyle_scene->r.im_format.planes = R_IMF_PLANES_RGBA; 
+       freestyle_scene->r.im_format.imtype = R_IMF_IMTYPE_PNG;
        set_scene_bg( G.main, freestyle_scene );
 
        // Camera