Merge branch 'blender-v2.92-release'

This commit is contained in:
Clément Foucault 2021-02-01 14:01:33 +01:00
commit 88d9eb14d1
2 changed files with 2 additions and 2 deletions

View File

@ -213,7 +213,7 @@ static void GPENCIL_render_result_z(struct RenderLayer *rl,
rp->rect[i] = 1e10f; /* Background */
}
else {
rp->rect[i] = -rp->rect[i] * range + near;
rp->rect[i] = rp->rect[i] * range - near;
}
}
}

View File

@ -155,7 +155,7 @@ static void workbench_render_result_z(struct RenderLayer *rl,
rp->rect[i] = 1e10f; /* Background */
}
else {
rp->rect[i] = -rp->rect[i] * range + near;
rp->rect[i] = rp->rect[i] * range - near;
}
}
}