Open GoogleCodeExporter opened 9 years ago
The attached file should be here ...
Original comment by afterb...@gmail.com
on 16 Jan 2013 at 6:47
Attachments:
Yes you are right. This is not working...
Original comment by thomas.t...@googlemail.com
on 16 Jan 2013 at 7:09
This can easily fixed changing the file gkActionActuator.cpp like this
void gkActionActuator::update(void)
{
if (!m_isPlaying) return;
if (m_state != m_link->getState())
{
stateChanged();
return;
}
gkScalar t = getElapsedTime() + m_start;
bool end = t >= m_end;
bool off = isPulseOff();
// ----- Fix
if (gkVariable *var = m_object->getVariable(m_startProp))
var->setValue(t*m_animFps);
// -----
if (off)
m_ignorePulseOn = false;
if (m_mode == AA_LOOP_END)
{
if (end)
{
stopAction();
if (!off)
playAction();
}
}
else if (m_mode == AA_LOOP_STOP)
{
if (off)
stopAction();
else if (end)
resetAction(false);
}
else //if (m_mode == AA_PLAY)
{
if (end)
stopAction();
}
}
Original comment by rhodyl...@gmail.com
on 2 Dec 2014 at 4:57
Original issue reported on code.google.com by
afterb...@gmail.com
on 16 Jan 2013 at 1:32Attachments: