MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / fileOpenCallback

Function fileOpenCallback

examples/ExampleBrowser/OpenGLExampleBrowser.cpp:701–711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

699}
700
701void fileOpenCallback()
702{
703 char filename[1024];
704 int len = s_window->fileOpenDialog(filename, 1024);
705 if (len)
706 {
707 //todo(erwincoumans) check if it is actually URDF
708 //printf("file open:%s\n", filename);
709 openFileDemo(filename);
710 }
711}
712
713#define MAX_GRAPH_WINDOWS 5
714

Callers

nothing calls this directly

Calls 2

openFileDemoFunction · 0.85
fileOpenDialogMethod · 0.45

Tested by

no test coverage detected