gdignore fix

This commit is contained in:
teebarjunk 2021-10-13 13:52:58 -04:00
parent 01facc81ad
commit dcdab0b9c1
5 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# 1.1
- Added `addons` folder hider option.
- Preserve folder open/close state.
- Fixed directories with `.gdignore` not hiding.
- Fixed files and directories not being sorted.
- Fixed "failed to load settings" error.
- Tweaked syntax coloring.

View File

@ -707,7 +707,7 @@ func _scan_dir(id:String, path:String, dir:Directory, last_dir:Dictionary, old_l
var file_path = dir.get_current_dir().plus_file(fname)
if dir.current_is_dir():
if show_dir(fname, file_path.get_base_dir()):
if show_dir(fname, file_path):
var sub_dir = Directory.new()
sub_dir.open(file_path)
_scan_dir(fname, file_path, sub_dir, a_dirs_and_files, old_last_dir.get("all", {}).get(fname, {}))

View File

@ -3,5 +3,5 @@
name="TextEditor"
description="A text editor for Godot."
author="teebar"
version="1.0"
version="1.1"
script="plugin.gd"

View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@