Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
runxel committed Apr 18, 2020
1 parent e37e5d6 commit 4d63e61
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
8 changes: 7 additions & 1 deletion GDL.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,13 @@ def get_folders(self):
folders.append(self.valid_subfolders(folder))

else: # no multiroot, no subroot
folders = self.valid_subfolders(self.project_abs_basepath[0])
# check if this the project is just a plain structure with just one single object inside (either HSF or GSM)
basepath = self.project_abs_basepath[0]
basename = os.path.basename(os.path.normpath(basepath))
if is_dir(basepath, basename) or is_file(basepath, basename +'.gsm'):
folders = self.project_abs_basepath # return list
else:
folders = self.valid_subfolders(basepath)

return folders

Expand Down
2 changes: 1 addition & 1 deletion Messages/v3.3.0.txt → Messages/v3.4.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ has successfully updated

*************************

VERSION 3.3.0
VERSION 3.4.0

*************************

Expand Down
23 changes: 23 additions & 0 deletions Messages/v3.4.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

██████╗ ██████╗ ██╗
██╔════╝ ██╔══██╗██║
██║ ███╗██║ ██║██║
██║ ██║██║ ██║██║
╚██████╔╝██████╔╝███████╗
╚═════╝ ╚═════╝ ╚══════╝

GDL Sublime Text package
has successfully updated

*************************

VERSION 3.4.1

*************************

CHANGELOG:

There was some hiccup because the release numbers got jumbled around. My bad. This should be fixed now.

# fixed
• The plugin exited with an error message when the user had a plain structure with just one object in the folder. This is fixed.

0 comments on commit 4d63e61

Please sign in to comment.