Explorar el Código

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 hace 5 años
padre
commit
9a11f369a0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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:
     else:
         light_node = None
         light_node = None
         logging.warning(
         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:
     if light_node is not None: