fix build

This commit is contained in:
Mr. Capybara
2023-11-09 14:50:56 -04:00
parent 3c71dc99e0
commit 2ae290491e

View File

@@ -221,11 +221,13 @@ void NavigationSettings::Apply()
}
}
#if USE_EDITOR
// Rebuild all navmeshs after apply changes on navigation
for (auto scene : Level::Scenes)
{
Navigation::BuildNavMesh(scene);
}
#endif
}
void NavigationSettings::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)