Commit d7f0051
committed
fix clearing a skybox model when it isn't the mission default
The previous way to clear a skybox was to set it to "default", and if the mission had no skybox then it would be cleared. The skybox code can correctly handle the lack of a skybox, but if you pass an empty string to the skybox preloader it fails with a file not found error. This fixes the preloader, and also adds "none" as an explicit no-skybox parameter.1 parent b326980 commit d7f0051
2 files changed
+9
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3508 | 3508 | | |
3509 | 3509 | | |
3510 | 3510 | | |
3511 | | - | |
| 3511 | + | |
3512 | 3512 | | |
3513 | 3513 | | |
3514 | 3514 | | |
| |||
19141 | 19141 | | |
19142 | 19142 | | |
19143 | 19143 | | |
19144 | | - | |
19145 | | - | |
19146 | | - | |
19147 | | - | |
19148 | | - | |
19149 | | - | |
19150 | | - | |
| 19144 | + | |
| 19145 | + | |
| 19146 | + | |
| 19147 | + | |
| 19148 | + | |
| 19149 | + | |
19151 | 19150 | | |
19152 | 19151 | | |
19153 | 19152 | | |
| |||
36735 | 36734 | | |
36736 | 36735 | | |
36737 | 36736 | | |
36738 | | - | |
| 36737 | + | |
36739 | 36738 | | |
36740 | 36739 | | |
36741 | 36740 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2221 | 2221 | | |
2222 | 2222 | | |
2223 | 2223 | | |
2224 | | - | |
| 2224 | + | |
2225 | 2225 | | |
2226 | 2226 | | |
2227 | 2227 | | |
| |||
0 commit comments