Assembly: Joint edition : Fix bug when changing offset while only one part is selected

This commit is contained in:
PaddleStroke
2024-03-12 18:44:55 +01:00
committed by Yorik van Havre
parent 27bb619323
commit 94a45ae097
2 changed files with 6 additions and 0 deletions

View File

@@ -241,6 +241,9 @@ def getContainingPart(full_name, selected_object, activeAssemblyOrPart=None):
def getObjectInPart(objName, part):
if part is None:
return None
if part.Name == objName:
return part