diff --git a/examples/ExampleBrowser/GwenGUISupport/gwenUserInterface.cpp b/examples/ExampleBrowser/GwenGUISupport/gwenUserInterface.cpp index 42086312f..9ed77f16d 100644 --- a/examples/ExampleBrowser/GwenGUISupport/gwenUserInterface.cpp +++ b/examples/ExampleBrowser/GwenGUISupport/gwenUserInterface.cpp @@ -364,10 +364,10 @@ void GwenUserInterface::init(int width, int height,Gwen::Renderer::Base* rendere m_data->m_explorerTreeCtrl = ctrl; ctrl->SetKeyboardInputEnabled(true); ctrl->Focus(); - ctrl->SetBounds(2, 10, 236, 400); + ctrl->SetBounds(2, 10, 236, 300); m_data->m_exampleInfoGroupBox = new Gwen::Controls::Label( m_data->m_explorerPage->GetPage() ); - m_data->m_exampleInfoGroupBox->SetPos(2, 414); + m_data->m_exampleInfoGroupBox->SetPos(2, 314); m_data->m_exampleInfoGroupBox->SetHeight( 15 ); m_data->m_exampleInfoGroupBox->SetWidth(234); m_data->m_exampleInfoGroupBox->SetText("Example Description"); @@ -376,7 +376,7 @@ void GwenUserInterface::init(int width, int height,Gwen::Renderer::Base* rendere //m_data->m_exampleInfoTextOutput->Dock( Gwen::Pos::Bottom ); - m_data->m_exampleInfoTextOutput->SetPos(2, 432); + m_data->m_exampleInfoTextOutput->SetPos(2, 332); m_data->m_exampleInfoTextOutput->SetHeight( 150 ); m_data->m_exampleInfoTextOutput->SetWidth(233); diff --git a/examples/ExampleBrowser/main.cpp b/examples/ExampleBrowser/main.cpp index f1e103e76..8e3501b3a 100644 --- a/examples/ExampleBrowser/main.cpp +++ b/examples/ExampleBrowser/main.cpp @@ -17,7 +17,8 @@ int main(int argc, char* argv[]) { b3CommandLineArgs args(argc,argv); b3Clock clock; - + + ExampleEntries examples; examples.initExampleEntries(); @@ -27,7 +28,7 @@ int main(int argc, char* argv[]) { do { - float deltaTimeInSeconds = 1./120.f; + float deltaTimeInSeconds = clock.getTimeMicroseconds()/1000000.f; exampleBrowser->update(deltaTimeInSeconds); } while (!exampleBrowser->requestedExit()); diff --git a/examples/Importers/ImportURDFDemo/ImportURDFSetup.cpp b/examples/Importers/ImportURDFDemo/ImportURDFSetup.cpp index 6c1fea32f..06fb8bd79 100644 --- a/examples/Importers/ImportURDFDemo/ImportURDFSetup.cpp +++ b/examples/Importers/ImportURDFDemo/ImportURDFSetup.cpp @@ -91,7 +91,7 @@ ImportUrdfSetup::ImportUrdfSetup(struct GUIHelperInterface* helper, int option, } else { gFileNameArray.clear(); - gFileNameArray.push_back("husky/model.urdf"); + gFileNameArray.push_back("r2d2.urdf"); @@ -291,4 +291,4 @@ class CommonExampleInterface* ImportURDFCreateFunc(struct CommonExampleOption { return new ImportUrdfSetup(options.m_guiHelper, options.m_option,options.m_fileName); -} \ No newline at end of file +}