From 810a8dc64308309e0cefd59f6386939fae62c157 Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Wed, 21 Oct 2020 09:55:51 +0800 Subject: [PATCH] App: fix ObjectIdentifier::relativeTo() Fixes realthunder/FreeCAD_Assembly3#328 --- src/App/ObjectIdentifier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/ObjectIdentifier.cpp b/src/App/ObjectIdentifier.cpp index cc50192f29..0ac3f82b1a 100644 --- a/src/App/ObjectIdentifier.cpp +++ b/src/App/ObjectIdentifier.cpp @@ -1153,7 +1153,7 @@ std::vector ObjectIdentifier::getStringList() const ObjectIdentifier ObjectIdentifier::relativeTo(const ObjectIdentifier &other) const { - ObjectIdentifier result(owner); + ObjectIdentifier result(other.getOwner()); ResolveResults thisresult(*this); ResolveResults otherresult(other);