Merge pull request #6336 from sanikoyes/Pr-fix-inter-callback-delete

Tween: fix non-repeat interpolate_callback
This commit is contained in:
Juan Linietsky 2016-09-10 11:49:07 -03:00 committed by GitHub
commit 34d3a4b471
1 changed files with 2 additions and 0 deletions

View File

@ -619,6 +619,8 @@ void Tween::_tween_process(float p_delta) {
};
object->call(data.key, (const Variant **) arg, data.args, error);
}
if (!repeat)
call_deferred("remove", object, data.key);
}
continue;
}