Make MSVC happy.

This commit is contained in:
Howard Stearns 2015-08-04 19:49:12 -07:00
parent 731bcba956
commit a1f86cc7b8

View file

@ -450,7 +450,7 @@ void Rig::updateAnimations(float deltaTime, glm::mat4 parentTransform) {
}
// collect the remaining fade data
float fadeSum = 0.0f;
float normalizedFades[_runningAnimations.count()];
std::vector<float> normalizedFades(_runningAnimations.count());
int animationIndex = 0;
foreach (const AnimationHandlePointer& handle, _runningAnimations) {
float fade = handle->getFade();