mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
animation keyframe channels now use animatable names
This commit is contained in:
+2
-2
@@ -87,7 +87,7 @@ int main(){
|
||||
* and frame number.
|
||||
*/
|
||||
KeyframeChannel kcA;
|
||||
kcA.animatable = light;
|
||||
kcA.animatable = light->getName();
|
||||
kcA.type = KeyframeChannel::SPOTLIGHT_OUTER_ANGLE;
|
||||
kcA.keyframes = vector<Keyframe>({
|
||||
KeyframeChannel::createKeyframe(Keyframe::LINEAR, .1, 1),
|
||||
@@ -96,7 +96,7 @@ int main(){
|
||||
});
|
||||
|
||||
KeyframeChannel kcB;
|
||||
kcA.animatable = light;
|
||||
kcA.animatable = light->getName();
|
||||
kcA.type = KeyframeChannel::SPOTLIGHT_INNER_ANGLE;
|
||||
kcA.keyframes = vector<Keyframe>({
|
||||
KeyframeChannel::createKeyframe(Keyframe::LINEAR, .1, 1),
|
||||
|
||||
Reference in New Issue
Block a user