diff --git a/OutfitStudio.h b/OutfitStudio.h index 6ba57e3f..05816607 100644 --- a/OutfitStudio.h +++ b/OutfitStudio.h @@ -553,6 +553,7 @@ class OutfitStudio : public wxFrame { void ActiveShapesUpdated(TweakStroke* refStroke, bool bIsUndo = false, bool setWeights = true); void UpdateActiveShapeUI(); + void AnimationGUIFromProj(); void RefreshGUIFromProj(); vector& GetSelectedItems(); @@ -720,7 +721,6 @@ class OutfitStudio : public wxFrame { void ClearProject(); void RenameProject(const string& projectName); - void AnimationGUIFromProj(); void WorkingGUIFromProj(); void OnSashPosChanged(wxSplitterEvent& event); diff --git a/ShapeProperties.cpp b/ShapeProperties.cpp index 7758a1ea..014e1e8e 100644 --- a/ShapeProperties.cpp +++ b/ShapeProperties.cpp @@ -697,6 +697,7 @@ void ShapeProperties::ApplyChanges() { else { nif->DeleteSkinning(shape); os->project->GetWorkAnim()->ClearShape(shape); + os->AnimationGUIFromProj(); } for (int i = 0; i < extraDataIndices.size(); i++) {