Assembly: Joint edition : Fix bug when changing offset while only one part is selected
This commit is contained in:
committed by
Yorik van Havre
parent
27bb619323
commit
94a45ae097
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user