App: fix ObjectIdentifier::relativeTo()

Fixes realthunder/FreeCAD_Assembly3#328
This commit is contained in:
Zheng, Lei
2020-10-21 09:55:51 +08:00
committed by wwmayer
parent 74b866ed30
commit 0a6b7dad41

View File

@@ -1153,7 +1153,7 @@ std::vector<std::string> ObjectIdentifier::getStringList() const
ObjectIdentifier ObjectIdentifier::relativeTo(const ObjectIdentifier &other) const
{
ObjectIdentifier result(owner);
ObjectIdentifier result(other.getOwner());
ResolveResults thisresult(*this);
ResolveResults otherresult(other);