Raccoon animation and scene changes #415

Merged
glencelow merged 16 commits from PlayerController into main 2023-03-10 17:28:16 +08:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit 9eb5399f7b - Show all commits

View File

@ -158,8 +158,11 @@ namespace SHADE
if (SHEditorUI::CollapsingHeader("Existing Animation Clips"))
{
ImGui::Indent();
int i = 0;
for (auto animClip : childAnimClips)
{
ImGui::PushID(i++);
bool changed = false;
std::optional<std::string> animClipName = SHResourceManager::GetAssetName<SHAnimationClip>(animClip);
@ -197,6 +200,8 @@ namespace SHADE
SHAssetManager::SaveAsset(assetId.value());
}
}
ImGui::PopID();
}
// Extra separator if there is more than one