You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
@vincentfretin this causes an error when loading a scene with color preset, the default sky is shown instead of the color.
The value of the component seems to be correctly set to color but the sky is still showing instead of the color. My hypothesis is that it is a race condition that adding an image and color at basically the same time results in only the image being shown (since they run immediately after each other -- once for default of sky and then the sky from the scene)
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I reproduced the issue switching the network speed to 3G. A better fix is just to ignore the loaded texture in this case. I committed the fix.
04dc429
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vincentfretin this causes an error when loading a scene with
color
preset, the default sky is shown instead of the color.The value of the component seems to be correctly set to
color
but the sky is still showing instead of the color. My hypothesis is that it is a race condition that adding an image and color at basically the same time results in only the image being shown (since they run immediately after each other -- once for default ofsky
and then the sky from the scene)Thoughts?
04dc429
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I reproduced the issue switching the network speed to 3G. A better fix is just to ignore the loaded texture in this case. I committed the fix.