You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Ensure that NavMesh baking updates the inspector
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user