Changed: #1469 The way to get the animation step name and to pass it to the serial function

--HG--
branch : gsoc2012-fabien
hg/feature/gsoc2012-fabien
Fabien_HENON 13 years ago
parent e584749c5a
commit 1095975a3f

@ -82,7 +82,8 @@ void ICameraAnimationStep::addModifier(ICameraAnimationModifier* modifier)
void ICameraAnimationStep::sendAnimationFullStep(NLMISC::CBitMemStream& bms)
{
// We first add the name of the step
bms.serial(const_cast<std::string&>(getStepName()));
std::string name = getStepName();
bms.serial(const_cast<std::string&>(name));
// We ask the step to add its information to the message
sendAnimationStep(bms);

Loading…
Cancel
Save