log error on invalid base object

This commit is contained in:
PhaseLoop
2025-03-20 14:26:36 +01:00
parent 41d20a62cd
commit 585ac82c34

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