Skip to content

Commit 52dae12

Browse files
beicauseKoBeWi
andcommitted
Fix can't convert to ShaderMaterial in FileSystemDock
Co-authored-by: KoBeWi <[email protected]>
1 parent 242b8ff commit 52dae12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/filesystem_dock.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2117,7 +2117,7 @@ Vector<String> FileSystemDock::_remove_self_included_paths(Vector<String> select
21172117
}
21182118

21192119
void FileSystemDock::_tree_rmb_option(int p_option) {
2120-
if (p_option > FILE_MENU_MAX) {
2120+
if (p_option > FILE_MENU_MAX && p_option < CONVERT_BASE_ID) {
21212121
// Extra options don't need paths.
21222122
_file_option(p_option, {});
21232123
return;

0 commit comments

Comments
 (0)