* 'master' of https://bitbucket.org/omigamedev/new_engine:
  add text input popup
This commit is contained in:
2019-09-12 15:18:22 +02:00
12 changed files with 186 additions and 12 deletions

View File

@@ -502,6 +502,11 @@ void NodePanelBrushPreset::init()
});
break;
case 1: // export file
#if __IOS__
App::I->pick_file_save("ppbr", [this] (std::string path) {
export_ppbr(path, {});
});
#else
App::I->pick_file_save({ "ppbr" }, [this] (std::string path) {
std::thread([this, path] {
BT_SetTerminate();
@@ -509,6 +514,7 @@ void NodePanelBrushPreset::init()
App::I->message_box("Export PPBR", "Brushes exported to:\n" + path);
}).detach();
});
#endif
break;
case 2: // download
break;