mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-08 21:17:53 +00:00
Fix crash in CEditorApplication::RebuildResourceDatabase
This commit is contained in:
@@ -272,7 +272,7 @@ bool CEditorApplication::RebuildResourceDatabase()
|
||||
{
|
||||
// Fake-close the project, but keep it in memory so we can modify the resource store
|
||||
auto pProj = std::move(mpActiveProject);
|
||||
mpActiveProject->TweakManager()->ClearTweaks();
|
||||
pProj->TweakManager()->ClearTweaks();
|
||||
emit ActiveProjectChanged(nullptr);
|
||||
|
||||
// Rebuild
|
||||
|
||||
Reference in New Issue
Block a user