mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
edit the comment
This commit is contained in:
parent
459000ec90
commit
aeaee28539
1 changed files with 3 additions and 1 deletions
|
|
@ -617,7 +617,9 @@ def prompt_new_file_with_mesh(mesh_filepath):
|
|||
mesh_filename_label = mesh_filename.findChild(QtWidgets.QLabel)
|
||||
if not mesh_filename_label.text():
|
||||
dialog.close()
|
||||
raise RuntimeError(f"Failed to set mesh path: {mesh_filepath}")
|
||||
substance_painter.logging.warning(
|
||||
f"Failed to set mesh path with the prompt dialog: {mesh_filepath}\n\n"
|
||||
"Creating new project directly with the mesh path instead.")
|
||||
else:
|
||||
dialog.done(dialog.Accepted)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue