[Bf-blender-cvs] [7cf1b81b3c6] master: Fix T62735: hiding curves doesnt hide in viewport
Dalai Felinto
noreply at git.blender.org
Tue Mar 19 21:26:27 CET 2019
Commit: 7cf1b81b3c6493c07ed9a247c9ebe7cb88e27d27
Author: Dalai Felinto
Date: Tue Mar 19 17:04:44 2019 -0300
Branches: master
https://developer.blender.org/rB7cf1b81b3c6493c07ed9a247c9ebe7cb88e27d27
Fix T62735: hiding curves doesnt hide in viewport
Copying what we do for mesh objects.
===================================================================
M source/blender/editors/curve/editcurve.c
===================================================================
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);
}
More information about the Bf-blender-cvs
mailing list