Fix navmesh update on some spline editing operations

This commit is contained in:
Wojtek Figat
2021-02-12 12:20:58 +01:00
parent 74c1ac89c8
commit 34b6cfebc3
3 changed files with 7 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
using System;
using FlaxEditor.Modules;
using FlaxEditor.SceneGraph.Actors;
using FlaxEngine;
namespace FlaxEditor.Actions
@@ -45,6 +46,7 @@ namespace FlaxEditor.Actions
if (spline == null)
return;
spline.SplineKeyframes = _after;
SplineNode.OnSplineEdited(spline);
}
/// <inheritdoc />
@@ -54,6 +56,7 @@ namespace FlaxEditor.Actions
if (spline == null)
return;
spline.SplineKeyframes = _before;
SplineNode.OnSplineEdited(spline);
}
/// <inheritdoc />