Skip to content
Snippets Groups Projects
Commit d6225593 authored by Candoran2's avatar Candoran2
Browse files

Updated error to fstring as per PR review

parent 439cf44b
No related branches found
No related tags found
No related merge requests found
......@@ -330,7 +330,7 @@ class Mesh:
if mesh_uv_layers:
if bpy.context.scene.niftools_scene.game in ('FALLOUT_3', 'SKYRIM'):
if len(mesh_uv_layers) > 1:
raise NifError(bpy.context.scene.niftools_scene.game + " does not support multiple UV layers.")
raise NifError(f"{bpy.context.scene.niftools_scene.game} does not support multiple UV layers.")
tridata.num_uv_sets = len(mesh_uv_layers)
tridata.bs_num_uv_sets = len(mesh_uv_layers)
tridata.has_uv = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment