From 69857f37f7787aeb8bdc232c09e74d48ff94adb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Tr=C3=B6ger?= Date: Thu, 19 Jan 2017 07:00:32 +0100 Subject: [PATCH] DAG: remove early return to avoid update chain changes --- src/App/PropertyLinks.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/App/PropertyLinks.cpp b/src/App/PropertyLinks.cpp index f80aff6f6f..216a6b7ead 100644 --- a/src/App/PropertyLinks.cpp +++ b/src/App/PropertyLinks.cpp @@ -72,9 +72,6 @@ PropertyLink::~PropertyLink() void PropertyLink::setValue(App::DocumentObject * lValue) { - if (lValue == _pcLink) - return; // nothing to do - aboutToSetValue(); #ifndef USE_OLD_DAG // maintain the back link in the DocumentObject class @@ -376,10 +373,7 @@ PropertyLinkSub::~PropertyLinkSub() // Base class implementer void PropertyLinkSub::setValue(App::DocumentObject * lValue, const std::vector &SubList) -{ - if(lValue == _pcLinkSub) - return; //nothing to do - +{ aboutToSetValue(); #ifndef USE_OLD_DAG if(_pcLinkSub)