File tree 3 files changed +31
-2
lines changed
3 files changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,13 @@ def get_folders(self):
202
202
folders .append (self .valid_subfolders (folder ))
203
203
204
204
else : # no multiroot, no subroot
205
- folders = self .valid_subfolders (self .project_abs_basepath [0 ])
205
+ # check if this the project is just a plain structure with just one single object inside (either HSF or GSM)
206
+ basepath = self .project_abs_basepath [0 ]
207
+ basename = os .path .basename (os .path .normpath (basepath ))
208
+ if is_dir (basepath , basename ) or is_file (basepath , basename + '.gsm' ):
209
+ folders = self .project_abs_basepath # return list
210
+ else :
211
+ folders = self .valid_subfolders (basepath )
206
212
207
213
return folders
208
214
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ has successfully updated
11
11
12
12
*************************
13
13
14
- VERSION 3.3 .0
14
+ VERSION 3.4 .0
15
15
16
16
*************************
17
17
Original file line number Diff line number Diff line change
1
+
2
+ ██████╗ ██████╗ ██╗
3
+ ██╔════╝ ██╔══██╗██║
4
+ ██║ ███╗██║ ██║██║
5
+ ██║ ██║██║ ██║██║
6
+ ╚██████╔╝██████╔╝███████╗
7
+ ╚═════╝ ╚═════╝ ╚══════╝
8
+
9
+ GDL Sublime Text package
10
+ has successfully updated
11
+
12
+ *************************
13
+
14
+ VERSION 3.4.1
15
+
16
+ *************************
17
+
18
+ CHANGELOG:
19
+
20
+ There was some hiccup because the release numbers got jumbled around. My bad. This should be fixed now.
21
+
22
+ # fixed
23
+ • The plugin exited with an error message when the user had a plain structure with just one object in the folder. This is fixed.
You can’t perform that action at this time.
0 commit comments