Skip to content

Commit

Permalink
Make mat maker's image picker button's dialog use resources.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Apr 19, 2024
1 parent 6d0c43d commit e99e5a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit e99e5a8

Please sign in to comment.