Merge pull request #57232 from pycbouh/editor-stands-in-the-way-of-progress-3.x

This commit is contained in:
Rémi Verschelde 2022-01-25 23:30:47 +01:00 committed by GitHub
commit f2d354c7c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -657,6 +657,8 @@ void NavigationMeshGenerator::bake(Ref<NavigationMesh> p_nav_mesh, Node *p_node)
if (ep)
memdelete(ep);
#endif
p_nav_mesh->property_list_changed_notify();
}
void NavigationMeshGenerator::clear(Ref<NavigationMesh> p_nav_mesh) {

View file

@ -34,10 +34,13 @@
#include "scene/resources/mesh.h"
class Mesh;
class NavigationMeshGenerator;
class NavigationMesh : public Resource {
GDCLASS(NavigationMesh, Resource);
friend class NavigationMeshGenerator;
PoolVector<Vector3> vertices;
struct Polygon {
Vector<int> indices;