mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -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::
|
INLINE void AnimInterface::
|
||||||
stop() {
|
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