mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 11:28:17 -04:00
animation slider
This commit is contained in:
parent
5bf4f3557d
commit
c2055c56f9
@ -126,6 +126,10 @@ doIt(const MArgList &args) {
|
|||||||
window->center_trackball(framework.get_models());
|
window->center_trackball(framework.get_models());
|
||||||
window->loop_animations();
|
window->loop_animations();
|
||||||
|
|
||||||
|
if (animate) {
|
||||||
|
window->set_anim_controls(true);
|
||||||
|
}
|
||||||
|
|
||||||
framework.main_loop();
|
framework.main_loop();
|
||||||
return MS::kSuccess;
|
return MS::kSuccess;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user