Rebuild navigation after apply changes in Navigation asset
This commit is contained in:
@@ -220,6 +220,12 @@ void NavigationSettings::Apply()
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Rebuild all navmeshs after apply changes on navigation
|
||||||
|
for (auto scene : Level::Scenes)
|
||||||
|
{
|
||||||
|
Navigation::BuildNavMesh(scene);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void NavigationSettings::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)
|
void NavigationSettings::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)
|
||||||
|
|||||||
Reference in New Issue
Block a user