Not all mod changes loading on startup
Opened this issue · 6 comments
When I'm starting the game (and going to Level Editor/) it appears that only a few things the mod changes load on startup
After clicking "reload mods" (note the top left)
Yes, this also happens in the actual editor.
All my mod changes are the textures you can see in the pictures (from red to grey) and it adds a statement in the shaders to ignore red light.
could you send me your mod so i can reproduce this?
On Wed, Oct 1, 2014 at 5:35 PM, mathestar notifications@github.com wrote:
When I'm starting the game (and going to Level Editor/) it appears that
only a few things the mod changes load on startupAfter startup:
[image: 2014-10-01_183026]
https://cloud.githubusercontent.com/assets/5197361/4478845/ada0e7c6-4988-11e4-86d2-36695d1264dc.jpgAfter clicking "reload mods" (note the top left)
[image: 2014-10-01_183039]
https://cloud.githubusercontent.com/assets/5197361/4478855/c3ad2822-4988-11e4-9ac2-0234d97f387f.jpgYes, this also happens in the actual editor.
All my mod changes are the textures you can see in the pictures (from red
to grey) and it adds a statement in the shaders to ignore red light.—
Reply to this email directly or view it on GitHub
#16.
This is caused by the code that reloads changed assets not detecting that pointlit.effect depends on pointlit.frag. This might be a tricky solve, leaving for later.
The reload all button reloads all assets, so doesn't have this problem.
whoops, didnt mean to close there
Just FYI, if I then (after reloading the mods (and shaders)) go back to the game the old shaders don't get reloaded either
I've fixed this now. should also fix the texture problems vswe reported