Fix CVEColorToVector

This commit is contained in:
Phillip Stephens 2016-02-17 00:17:12 -08:00
parent f1bba142d5
commit ae88e719ff
1 changed files with 3 additions and 3 deletions

View File

@ -330,9 +330,9 @@ bool CVESubtract::GetValue(int frame, Zeus::CVector3f& valOut) const
bool CVEColorToVector::GetValue(int frame, Zeus::CVector3f &valOut) const bool CVEColorToVector::GetValue(int frame, Zeus::CVector3f &valOut) const
{ {
Zeus::CColor black = {0.0, 0.0, 0.0, 1.0}; Zeus::CColor val = {0.0, 0.0, 0.0, 1.0};
x4_a->GetValue(frame, black); x4_a->GetValue(frame, val);
valOut = Zeus::CVector3f{black.r, valOut.y, black.g }; valOut = Zeus::CVector3f{val.r, val.g, val.b};
return false; return false;
} }