add file picking for osx and ios and implement equirectangular import
This commit is contained in:
@@ -350,6 +350,13 @@ void App::init_menu_file()
|
||||
popup->mouse_release();
|
||||
popup->destroy();
|
||||
};
|
||||
popup->find<NodeButtonCustom>("file-import")->on_click = [this](Node*) {
|
||||
App::I.pick_image([](std::string path){
|
||||
Canvas::I->import_equirectangular(path);
|
||||
});
|
||||
popup->mouse_release();
|
||||
popup->destroy();
|
||||
};
|
||||
popup->find<NodeButtonCustom>("file-open")->on_click = [this](Node*) {
|
||||
dialog_open();
|
||||
popup->mouse_release();
|
||||
|
||||
Reference in New Issue
Block a user