Update JointObject.py
This commit is contained in:
committed by
Kacper Donat
parent
e4f36afcb3
commit
45ca23d074
@@ -1813,8 +1813,8 @@ class TaskAssemblyCreateJoint(QtCore.QObject):
|
||||
try:
|
||||
# Use a set to handle cases where both refs point to the same object
|
||||
parts_to_isolate = {
|
||||
UtilsAssembly.getObject(self.refs[0]),
|
||||
UtilsAssembly.getObject(self.refs[1]),
|
||||
self.getMovingPart(self.refs[0]),
|
||||
self.getMovingPart(self.refs[1]),
|
||||
}
|
||||
assembly_vobj.isolateComponents(list(parts_to_isolate), isolate_mode)
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user