Changed error message

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Simone Barbieri 2023-12-21 15:23:59 +00:00 committed by GitHub
parent a8b93ec8fe
commit b012e169d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ def prepare_scene_name(
# Blender name for a collection or object cannot be longer than 63
# characters. If the name is longer, it will raise an error.
if len(name) > 63:
raise ValueError(f"Asset name '{name}' is too long.")
raise ValueError(f"Scene name '{name}' would be too long.")
return name