Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ying-Qiu Zheng
fsleyes
Commits
332cbb66
Commit
332cbb66
authored
May 30, 2017
by
Paul McCarthy
🚵
Browse files
Merge branch 'v0.11.0a_hotfix' into 'v0.11.0'
V0.11.0a hotfix See merge request !5
parents
ef1f91ba
293f26f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
fsleyes/version.py
View file @
332cbb66
...
...
@@ -18,7 +18,7 @@ also defined here, for working with FSLeyes version numbers.
"""
__version__
=
'0.11.0'
__version__
=
'0.11.0
a
'
"""Current version number, as a string. The FSLeyes version number consists
of three numbers, separated by a period, which roughly obeys the Semantic
Versioning conventions (http://semver.org/):
...
...
fsleyes/views/canvaspanel.py
View file @
332cbb66
...
...
@@ -952,7 +952,7 @@ def _screenshot(overlayList, displayCtx, canvasPanel):
memoryDC
.
SelectObject
(
wx
.
NullBitmap
)
rgb
=
bmp
.
ConvertToImage
().
GetData
()
rgb
=
np
.
from
string
(
rgb
,
dtype
=
np
.
uint8
)
rgb
=
np
.
from
buffer
(
rgb
,
dtype
=
np
.
uint8
)
data
[:,
:,
:
3
]
=
rgb
.
reshape
(
height
,
width
,
3
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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