Browse Source

Clarify warning message for unsupported light.

Previously the warning read
"Unknown light type. Use Point, Spot or Sun: Area", which is vague it
looks like Area is part of the supported types.
Ryan Roden-Corrent 5 years ago
parent
commit
9a11f369a0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      io_scene_godot/converters/simple_nodes.py

+ 1 - 1
io_scene_godot/converters/simple_nodes.py

@@ -143,7 +143,7 @@ def export_light_node(escn_file, export_settings, node, parent_gd_node):
     else:
         light_node = None
         logging.warning(
-            "Unknown light type. Use Point, Spot or Sun: %s", node.name
+            "%s light is not supported. Use Point, Spot or Sun", node.name
         )
 
     if light_node is not None: