Draft: do not try to move object base if it has no base

This commit is contained in:
Yorik van Havre
2019-02-08 11:09:54 -02:00
committed by Yorik van Havre
parent 348a1777a2
commit 778b489e77

View File

@@ -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"]: