mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 11:56:49 +01:00
Make mat maker's image picker button's dialog use resources.
This commit is contained in:
parent
6d0c43dbf0
commit
e99e5a87bc
@ -77,7 +77,7 @@ void ImagePickerButton::_on_ImagePicker_pressed() {
|
||||
dialog = memnew(MatMakerFileDialog);
|
||||
add_child(dialog);
|
||||
dialog->set_custom_minimum_size(Vector2(500, 500));
|
||||
dialog->set_access(FileDialog::ACCESS_FILESYSTEM);
|
||||
dialog->set_access(FileDialog::ACCESS_RESOURCES);
|
||||
dialog->set_mode(FileDialog::MODE_OPEN_FILE);
|
||||
dialog->add_filter("*.bmp;BMP Image");
|
||||
dialog->add_filter("*.exr;EXR Image");
|
||||
|
Loading…
Reference in New Issue
Block a user