Fix T65372: Can't turn off Freestyle line anti-aliasing in Eevee
Freestyle was not copying the eevee settings when creating a scene copy.
This commit is contained in:
parent
2820870a13
commit
d77c2305a3
Notes:
blender-bot
2023-02-14 11:28:39 +01:00
Referenced by issue #65372, Can't turn off Freestyle line anti-aliasing in Eevee
|
@ -121,6 +121,9 @@ BlenderStrokeRenderer::BlenderStrokeRenderer(Render *re, int render_count) : Str
|
|||
if (old_scene->id.properties) {
|
||||
freestyle_scene->id.properties = IDP_CopyProperty_ex(old_scene->id.properties, 0);
|
||||
}
|
||||
// Copy eevee render settings.
|
||||
freestyle_scene->eevee = old_scene->eevee;
|
||||
freestyle_scene->eevee.light_cache = NULL;
|
||||
|
||||
/* Render with transparent background. */
|
||||
freestyle_scene->r.alphamode = R_ALPHAPREMUL;
|
||||
|
|
Loading…
Reference in New Issue