vinod8990 / godot_plugins

My Godot plugins
MIT License
68 stars 16 forks source link

Create_tileset doesn't work when there aren't any root node #6

Open vmpajares opened 7 years ago

vmpajares commented 7 years ago

A simple warning if anyone is trying to use it.

If you execute create_tileset and doesn't add a root node, the script doesn't work. If you check the Output it says: res://addons/Create_Tileset/create_tileset.gd:93 - Attempt to call function 'add_child' in base 'null instance' on a null instance.

You must Add a simple Node2D to fix it.