Skip to content

Commit

Permalink
Revert "ObjectIdentifier: Issue #2389: Needs to set documentNameSet a…
Browse files Browse the repository at this point in the history
…nd documentObjectNameSet to true to resolve properly."

This reverts commit 670eaf0.
  • Loading branch information
wwmayer committed Jan 26, 2016
1 parent d7dd512 commit 1b8cd9b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/App/ObjectIdentifier.cpp
Expand Up @@ -125,9 +125,7 @@ ObjectIdentifier::ObjectIdentifier(const App::PropertyContainer * _owner, const
const Document * doc = docObj->getDocument();

documentName = String(doc->getName(), false, true);
documentNameSet = true;
documentObjectName = String(docObj->getNameInDocument(), false, true);
documentObjectNameSet = true;

}
if (property.size() > 0)
Expand All @@ -141,8 +139,8 @@ ObjectIdentifier::ObjectIdentifier(const App::PropertyContainer * _owner, const

ObjectIdentifier::ObjectIdentifier(const Property &prop)
: owner(prop.getContainer())
, documentNameSet(true)
, documentObjectNameSet(true)
, documentNameSet(false)
, documentObjectNameSet(false)
, propertyIndex(-1)
{
DocumentObject * docObj = freecad_dynamic_cast<DocumentObject>(prop.getContainer());
Expand Down

0 comments on commit 1b8cd9b

Please sign in to comment.