log error on invalid base object
This commit is contained in:
@@ -183,6 +183,7 @@ class DressupArray(DressupBase):
|
||||
or not obj.Base.isDerivedFrom("Path::Feature")
|
||||
or not obj.Base.Path
|
||||
):
|
||||
Path.Log.error(translate("PathArray", "Base is empty or an invalid object."))
|
||||
return None
|
||||
|
||||
# Do not generate paths and clear current Path data if operation not
|
||||
|
||||
Reference in New Issue
Block a user