App: fix ObjectIdentifier::relativeTo()

Fixes realthunder/FreeCAD_Assembly3#328
This commit is contained in:
Zheng, Lei
2020-11-22 18:07:12 +01:00
committed by wwmayer
parent 74b866ed30
commit 0a6b7dad41
+1 -1
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);