mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
bring back the triangle
This commit is contained in:
parent
51b8232d16
commit
9bbc23202a
@ -30,7 +30,12 @@ main(int argc, char *argv[]) {
|
|||||||
|
|
||||||
window->enable_keyboard();
|
window->enable_keyboard();
|
||||||
window->setup_trackball();
|
window->setup_trackball();
|
||||||
|
if (argc < 2) {
|
||||||
|
// If we have no arguments, get that trusty old triangle out.
|
||||||
|
window->load_default_model(window->get_render());
|
||||||
|
} else {
|
||||||
window->load_models(window->get_render(), argc, argv);
|
window->load_models(window->get_render(), argc, argv);
|
||||||
|
}
|
||||||
window->loop_animations();
|
window->loop_animations();
|
||||||
|
|
||||||
framework.enable_default_keys();
|
framework.enable_default_keys();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user