diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2025-06-18 12:32:55 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-18 12:32:55 -0600 |
| commit | 5011f932c2349d75e609612af4e5e8395c1f75eb (patch) | |
| tree | 8bdb046f3aae3542b8921ce1b24b72e094c07015 /src/engine/editor/SceneManager.cpp | |
| parent | d3a3e761cff650c8a4b707377dd17f70dc4e9ca0 (diff) | |
Interpolate hm intro (#228)
* Interpolation ApplyMatrixTransformations
* Fix scenefile saving and add skybox export
---------
Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/engine/editor/SceneManager.cpp')
| -rw-r--r-- | src/engine/editor/SceneManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/editor/SceneManager.cpp b/src/engine/editor/SceneManager.cpp index a2de6656c..c825431de 100644 --- a/src/engine/editor/SceneManager.cpp +++ b/src/engine/editor/SceneManager.cpp @@ -69,7 +69,7 @@ namespace Editor { void LoadLevel(std::shared_ptr<Ship::Archive> archive, Course* course, std::string sceneFile) { SceneFile = sceneFile; - if (archive) { + if (archive && (course != nullptr)) { auto initData = std::make_shared<Ship::ResourceInitData>(); initData->Parent = archive; initData->Format = RESOURCE_FORMAT_BINARY; |
