nymphofthevales / Tile-Editor

A dev tool for laying out tile-based patterns, maps, etc. Renders a grid in which tiles can be placed, and provides functionality for performing actions on subsets of those tiles. Under development.
3 stars 0 forks source link

Tile constructor bug #9

Closed nymphofthevales closed 2 years ago

nymphofthevales commented 2 years ago

Tile construction scrapes files from too far of scope; seems to pull in tiles from outside specified subdirectory in ./tilesets e.g. traversed and hovered tiles in /labyrinth_base/ when only /labyrinth/ was specified

nymphofthevales commented 2 years ago

Issue caused by tileset dropdown not taking a default value, so the directory specified was not ./tilesets/labyrinth/ but rather ./tilesets/. This, in turn, was caused by the form being cleared before being shown. As well, the node_dir readFiles() function did a deep read of all child directories, so the issue was not noticed (files still appeared).