Fix T67860: missing 3d cursor update when picking texture clone location

Reviewers: sergey

Maniphest Tasks: T67860

Differential Revision: https://developer.blender.org/D5360
This commit is contained in:
Philipp Oeser 2019-07-29 11:14:56 +02:00
parent a7d9e2f57e
commit baff245b9d
Notes: blender-bot 2023-02-14 05:44:22 +01:00
Referenced by issue #67860, 3D cursor doesn't change position automatically in Texture Paint mode (Clone brush) when selecting cloning source with Ctrl+LMB
1 changed files with 1 additions and 0 deletions

View File

@ -5733,6 +5733,7 @@ void paint_proj_stroke(const bContext *C,
return;
}
DEG_id_tag_update(&scene->id, ID_RECALC_COPY_ON_WRITE);
ED_region_tag_redraw(ar);
return;