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