Copy on write: VIEW3D_OT_render_border

Drawing is using the original scene (which shouldn't), but regardless
this force tagging to work.
This commit is contained in:
Dalai Felinto 2018-05-15 18:02:29 +02:00
parent 3d1f5cb9a2
commit 4f8b6428bc
Notes: blender-bot 2023-02-14 05:57:10 +01:00
Referenced by issue #54829, COW Operators: 3D View
1 changed files with 3 additions and 0 deletions

View File

@ -3276,6 +3276,9 @@ static int render_border_exec(bContext *C, wmOperator *op)
v3d->flag2 |= V3D_RENDER_BORDER;
}
if (rv3d->persp == RV3D_CAMOB) {
DEG_id_tag_update(&scene->id, DEG_TAG_COPY_ON_WRITE);
}
return OPERATOR_FINISHED;
}