Merge branch 'blender-v2.92-release'
This commit is contained in:
commit
88d9eb14d1
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue