Frstrm / TokenLightCondition

Determine the lighting conditions of a token based on placed lights and token lights
MIT License
1 stars 4 forks source link

Support for CE broken, doesn't import the Dark condition #25

Closed apoapostolov closed 1 year ago

apoapostolov commented 1 year ago

Only the Dim condition is being imported image

This causes constant errors when using CE integration, which is needed to configure effects. image

image

Frstrm commented 1 year ago

I'll take a look and see if I can run it down. A local workaround is to go ahead and manually create a Dark CE effect for use.

Frstrm commented 1 year ago

I found a case where if you switch from any of the other methods to CE in settings, it doesn't create the CE effects until next reload. I can fix that case up. However, I'm not currently seeing where it would create one but not both. I'll keep poking at it. If you have any other details about how you ran into this state ( loading, changing settings, etc. F12 log errors ) it could help.

apoapostolov commented 1 year ago

Hello, it took a while (a reload or two) but the effects were created, it's probably best to include a popup asking to reload the environment when the errror happens so people try that and fix the issue via reload workaround. Unfortunately now that this is fixed, I cannot provide error messages.

Frstrm commented 1 year ago

After this change, it should attempt to create the CE effects as soon as you save the change to select CE as the effect Source in settings.