Skip to content

Commit d04dabf

Browse files
committed
A much better message for Norm Met and TEXTURE_NORMAL I think
1 parent 70e59ea commit d04dabf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

io_xplane2blender/xplane_types/xplane_header.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def _init(self):
228228
self.attributes["NORMAL_METALNESS"].setValue(normal_metalness)
229229
elif not texture_normal and normal_metalness:
230230
logger.warn(
231-
f"{self.xplaneFile.filename} uses Normal Metalness but has no Normal Texture"
231+
f"{self.xplaneFile.filename}: No Normal Texture found, ignoring use of Normal Metalness"
232232
)
233233

234234
if xplane_version >= 1100:
@@ -289,7 +289,7 @@ def _init(self):
289289
)
290290
elif not texture_draped_nml and normal_metalness_draped:
291291
logger.warn(
292-
f"{self.xplaneFile.filename} uses Normal Metalness but has no Draped Normal Texture"
292+
f"{self.xplaneFile.filename}: No Draped Normal Texture found, ignoring use of Normal Metalness"
293293
)
294294

295295
# draped bump level

0 commit comments

Comments
 (0)