Skip to content

Commit

Permalink
Clarify warning message for unsupported light.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rcorre committed Sep 7, 2020
1 parent 564aa4f commit 9a11f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io_scene_godot/converters/simple_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9a11f36

Please sign in to comment.