Merge branch 'master' of https://bitbucket.org/omigamedev/new_engine
* 'master' of https://bitbucket.org/omigamedev/new_engine: add text input popup
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user