[Bf-blender-cvs] [1fdea49fccf] master: Fix T65053: unhide curve does not refresh the viewport properly

Philipp Oeser noreply at git.blender.org
Fri May 24 12:13:58 CEST 2019


Commit: 1fdea49fccf6513e4d28d408df0287d9763b440c
Author: Philipp Oeser
Date:   Fri May 24 11:52:13 2019 +0200
Branches: master
https://developer.blender.org/rB1fdea49fccf6513e4d28d408df0287d9763b440c

Fix T65053: unhide curve does not refresh the viewport properly

Reviewers: sergey

Maniphest Tasks: T65053

Differential Revision: https://developer.blender.org/D4937

===================================================================

M	source/blender/editors/curve/editcurve.c

===================================================================

diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c
index 1e40ba2f19b..5dbc2dd74eb 100644
--- a/source/blender/editors/curve/editcurve.c
+++ b/source/blender/editors/curve/editcurve.c
@@ -3307,7 +3307,7 @@ static int reveal_exec(bContext *C, wmOperator *op)
     }
 
     if (changed) {
-      DEG_id_tag_update(obedit->data, ID_RECALC_COPY_ON_WRITE | ID_RECALC_SELECT);
+      DEG_id_tag_update(obedit->data, ID_RECALC_COPY_ON_WRITE | ID_RECALC_SELECT | ID_RECALC_GEOMETRY);
       WM_event_add_notifier(C, NC_GEOM | ND_SELECT, obedit->data);
       changed_multi = true;
     }



More information about the Bf-blender-cvs mailing list