This set of changes allows library users to set an additional texture search path besides the user preset dir and the (still hard-coded) dataPath/presets and dataPath/textures directories.
This will allow users to set a specific texture path (e.g. with user-provided images), while the preset dir can be changed to anything and doesn't need to contain any textures. The search order - if all paths are set - is now:
User preset dir (preset textures should override the base files)
User texture dir (user textures should override system textures)
System/application data dir, subdir "presets"
System/application data dir, subdir "textures"
It could be a good idea to turn both user preset and textures paths into lists, so the user might add more than one dir if wanted. Please comment if you find this to be an improvement worth implementing.
This set of changes allows library users to set an additional texture search path besides the user preset dir and the (still hard-coded)
dataPath/presets
anddataPath/textures
directories.This will allow users to set a specific texture path (e.g. with user-provided images), while the preset dir can be changed to anything and doesn't need to contain any textures. The search order - if all paths are set - is now:
It could be a good idea to turn both user preset and textures paths into lists, so the user might add more than one dir if wanted. Please comment if you find this to be an improvement worth implementing.