Skip to content

Commit

Permalink
DAG: remove early return to avoid update chain changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ickby authored and wwmayer committed Jan 21, 2017
1 parent b427409 commit 69857f3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/App/PropertyLinks.cpp
Expand Up @@ -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
Expand Down Expand Up @@ -376,10 +373,7 @@ PropertyLinkSub::~PropertyLinkSub()
// Base class implementer

void PropertyLinkSub::setValue(App::DocumentObject * lValue, const std::vector<std::string> &SubList)
{
if(lValue == _pcLinkSub)
return; //nothing to do

{
aboutToSetValue();
#ifndef USE_OLD_DAG
if(_pcLinkSub)
Expand Down

0 comments on commit 69857f3

Please sign in to comment.