equal
deleted
inserted
replaced
727 case ENodeTypeKeyFrame: |
727 case ENodeTypeKeyFrame: |
728 { |
728 { |
729 TReal32 time = ParseFloatAttributeL(aNode, KLitAt); |
729 TReal32 time = ParseFloatAttributeL(aNode, KLitAt); |
730 TReal32 aux1 = ParseFloatAttributeL(aNode, KLitAux1, EFalse); |
730 TReal32 aux1 = ParseFloatAttributeL(aNode, KLitAux1, EFalse); |
731 TReal32 aux2 = ParseFloatAttributeL(aNode, KLitAux2, EFalse); |
731 TReal32 aux2 = ParseFloatAttributeL(aNode, KLitAux2, EFalse); |
732 VALUE_TYPE value = ParseAnimationKeyFrameValueL<PARAM_TYPE::ValueType, TIMELINE_TYPE>(aNode->FirstChild(), aTimeLine); |
732 VALUE_TYPE value = ParseAnimationKeyFrameValueL<typename PARAM_TYPE::ValueType, TIMELINE_TYPE>(aNode->FirstChild(), aTimeLine); |
733 TRAPD(err, aTimeLine.AppendKeyFrameL(time, value, aux1, aux2)); |
733 TRAPD(err, aTimeLine.AppendKeyFrameL(time, value, aux1, aux2)); |
734 if (err != KErrNone) |
734 if (err != KErrNone) |
735 { |
735 { |
736 FAIL(KErrGeneral, _L("Unable to append new key frame to timeline")); |
736 FAIL(KErrGeneral, _L("Unable to append new key frame to timeline")); |
737 } |
737 } |