diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2019-03-19 23:04:44 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2019-03-19 23:26:09 +0300 |
commit | 7cf1b81b3c6493c07ed9a247c9ebe7cb88e27d27 (patch) | |
tree | e2e905f0522d5ee5178d7dc7f0e228a407ab9a46 /source/blender | |
parent | 21f3c95f22d458389d1857ee03312cefdfa7ead3 (diff) |
Fix T62735: hiding curves doesnt hide in viewport
Copying what we do for mesh objects.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/curve/editcurve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index fe3ac8fc947..63768493f7a 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -3013,7 +3013,7 @@ static int hide_exec(bContext *C, wmOperator *op) } } - DEG_id_tag_update(obedit->data, ID_RECALC_COPY_ON_WRITE | ID_RECALC_SELECT); + DEG_id_tag_update(obedit->data, ID_RECALC_GEOMETRY); WM_event_add_notifier(C, NC_GEOM | ND_SELECT, obedit->data); BKE_curve_nurb_vert_active_validate(obedit->data); } |