mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
stop() should not activate animation
This commit is contained in:
parent
737096d8fd
commit
cffaa54239
@ -119,7 +119,11 @@ pingpong(bool restart, double from, double to) {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE void AnimInterface::
|
||||
stop() {
|
||||
pose(get_full_fframe());
|
||||
CDWriter cdata(_cycler);
|
||||
cdata->pose(cdata->get_full_fframe());
|
||||
|
||||
// Don't call animation_activated() here; stopping an animation
|
||||
// should not activate it.
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user