Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
0c132870
Commit
0c132870
authored
Mar 20, 2019
by
Maxime Perrotin
Browse files
Fix saving issue
parent
1e348f19
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
0c132870
...
...
@@ -134,6 +134,9 @@ The background pattern was downloaded from www.subtlepatterns.com
Changelog
=========
2.
0.28 (03/2019)
-
Fix saving issue on new non-taste models
2.
0.27 (03/2019)
-
Fix type checking when using substrings
...
...
opengeode/opengeode.py
View file @
0c132870
...
...
@@ -141,7 +141,7 @@ except ImportError:
__all__
=
[
'opengeode'
,
'SDL_Scene'
,
'SDL_View'
,
'parse'
]
__version__
=
'2.0.2
7
'
__version__
=
'2.0.2
8
'
if
hasattr
(
sys
,
'frozen'
):
# Detect if we are running on Windows (py2exe-generated)
...
...
@@ -1955,7 +1955,11 @@ class SDL_View(QtGui.QGraphicsView, object):
# for the gpr file
pr_names
=
[
'"'
+
os
.
path
.
basename
(
pr_file
)
+
'"'
for
pr_file
in
sdlSymbols
.
AST
.
pr_files
]
first_pr
=
pr_names
.
pop
()
try
:
first_pr
=
pr_names
.
pop
()
except
IndexError
:
# case of a new file: use the filename chosen from the file dialog
first_pr
=
'"{}"'
.
format
(
os
.
path
.
basename
(
filename
))
other_pr
=
", "
.
join
(
pr_names
)
template_gpr_sdl
=
'''project {pr} is
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment