log error on invalid base object

This commit is contained in:
PhaseLoop
2025-03-20 14:26:36 +01:00
parent ab82025cf4
commit a0380ffb3e

View File

@@ -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