dan200/Redirection

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 startup:
2014-10-01_183026

After clicking "reload mods" (note the top left)
2014-10-01_183039

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 startup

After startup:
[image: 2014-10-01_183026]
https://cloud.githubusercontent.com/assets/5197361/4478845/ada0e7c6-4988-11e4-86d2-36695d1264dc.jpg

After clicking "reload mods" (note the top left)
[image: 2014-10-01_183039]
https://cloud.githubusercontent.com/assets/5197361/4478855/c3ad2822-4988-11e4-9ac2-0234d97f387f.jpg

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.


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