From 46def65b446dd0803fcdc1a1c88cd6264382c82d Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 30 Sep 2018 15:21:11 +0200 Subject: [PATCH] make DAG view behave more nicely in case of cyclic graphs --- src/Gui/DAGView/DAGModel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Gui/DAGView/DAGModel.cpp b/src/Gui/DAGView/DAGModel.cpp index 608f12e36b..574843dc48 100644 --- a/src/Gui/DAGView/DAGModel.cpp +++ b/src/Gui/DAGView/DAGModel.cpp @@ -552,6 +552,8 @@ void Model::updateSlot() catch(const boost::not_a_dag &) { Base::Console().Error("not a dag exception in DAGView::Model::updateSlot()\n"); + //do not continuously report an error for cyclic graphs + graphDirty = false; return; } //index the vertices in sort order.