Merged changes in the trunk up to revision 36408.
[blender.git] / source / blender / editors / render / render_shading.c
index 60b679a38ef30950df2cbf87e69594a0af52cc62..5fde1652243497b3308b33a8ce3de24873398b4c 100644 (file)
@@ -1337,7 +1337,7 @@ static int save_envmap(wmOperator *op, Scene *scene, EnvMap *env, char *str, int
        /* to save, we first get absolute path */
        BLI_path_abs(str, G.main->name);
        
-       if (BKE_write_ibuf(scene, ibuf, str, imtype, scene->r.subimtype, scene->r.quality)) {
+       if (BKE_write_ibuf(ibuf, str, imtype, scene->r.subimtype, scene->r.quality)) {
                retval = OPERATOR_FINISHED;
        }
        else {