mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -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->setup_trackball();
|
||||
window->load_models(window->get_render(), argc, argv);
|
||||
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->loop_animations();
|
||||
|
||||
framework.enable_default_keys();
|
||||
|
Loading…
x
Reference in New Issue
Block a user