Draft: do not try to move object base if it has no base
This commit is contained in:
committed by
Yorik van Havre
parent
348a1777a2
commit
778b489e77
@@ -1479,7 +1479,7 @@ def move(objectslist,vector,copy=False):
|
||||
newobjlist = []
|
||||
newgroups = {}
|
||||
for obj in objectslist:
|
||||
if hasattr(obj, "MoveBase") and obj.MoveBase:
|
||||
if hasattr(obj, "MoveBase") and obj.MoveBase and obj.Base:
|
||||
obj = obj.Base
|
||||
if hasattr(obj,"Placement"):
|
||||
if obj.getEditorMode("Placement") == ["ReadOnly"]:
|
||||
|
||||
Reference in New Issue
Block a user