MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / OnGenericDefineAnimStates

Method OnGenericDefineAnimStates

editor/WorldObjectsGenericDialog.cpp:838–846  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

836}
837
838void CWorldObjectsGenericDialog::OnGenericDefineAnimStates() {
839 if (m_current == -1)
840 return;
841
842 CAnimStatesDialog dlg(Object_info[m_current].render_handle, Object_info[m_current].anim);
843
844 if (dlg.DoModal() == IDOK) // Copy back into object
845 dlg.GetAnimData(Object_info[m_current].anim);
846}
847
848void CWorldObjectsGenericDialog::OnGenericDelete() {
849 int answer, tl;

Callers

nothing calls this directly

Calls 2

GetAnimDataMethod · 0.80
DoModalMethod · 0.45

Tested by

no test coverage detected