Fix error in generating error message in 8e9d4be

`profile` variable was never defined in this context
This commit is contained in:
Andrej730
2025-07-15 11:48:36 +05:00
parent a28478c193
commit c95a0e8ed5
@@ -399,7 +399,7 @@ def get_horizontal_profile_preview_data(
verts = shape.verts
if not verts:
raise RuntimeError(f"Profile shape has no vertices, it probably is invalid: '{profile}'.")
raise RuntimeError(f"Profile shape has no vertices, it probably is invalid: '{profile_curve}'.")
edges = shape.edges