From Cedric Pinson, Fix the drop of the first frame of action when adding action with addActionNow\nReport stats only for active animations\nAdd priority to RunAction callback
This commit is contained in:
@@ -18,6 +18,6 @@
|
||||
void osgAnimation::RunAction::operator()(Action* action, ActionVisitor* visitor)
|
||||
{
|
||||
Timeline* tm = visitor->getCurrentTimeline();
|
||||
tm->addActionNow(_action.get());
|
||||
tm->addActionNow(_action.get(), _priority);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user