Implemented Animation Clip asset and animation controller #410
|
@ -63,7 +63,7 @@ namespace SHADE
|
|||
SHEditorUI::PopID();
|
||||
|
||||
// Invalid values
|
||||
const bool INVALID_CONFIG = newAssetName.empty() || firstIndex > lastIndex || lastIndex < firstIndex;
|
||||
const bool INVALID_CONFIG = newAssetName.empty() || firstIndex > lastIndex;
|
||||
|
||||
// Buttons
|
||||
ImGui::BeginDisabled(INVALID_CONFIG);
|
||||
|
|
|
@ -43,8 +43,8 @@ namespace SHADE
|
|||
/* Data Members */
|
||||
/*---------------------------------------------------------------------------------*/
|
||||
std::string newAssetName;
|
||||
int firstIndex;
|
||||
int lastIndex;
|
||||
int firstIndex = 0;
|
||||
int lastIndex = 0;
|
||||
Handle<SHRawAnimation> rawAnimation;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue