Gui: DAGView: adding check for App::DocumentObject

This commit is contained in:
blobfish
2016-12-11 16:20:16 -05:00
committed by wmayer
parent 92db556a3e
commit 8ccbff951b
3 changed files with 11 additions and 0 deletions

View File

@@ -479,6 +479,8 @@ void Model::updateSlot()
std::vector<App::DocumentObject *> otherDObjects = currentDObject->getOutList();
for (auto &currentOtherDObject : otherDObjects)
{
if (!hasRecord(currentOtherDObject, *graphLink))
continue;
Vertex otherVertex = findRecord(currentOtherDObject, *graphLink).vertex;
bool result;
Edge edge;