Commit 332cbb66 authored by Paul McCarthy's avatar 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
......@@ -18,7 +18,7 @@ also defined here, for working with FSLeyes version numbers.
"""
__version__ = '0.11.0'
__version__ = '0.11.0a'
"""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/):
......
......@@ -952,7 +952,7 @@ def _screenshot(overlayList, displayCtx, canvasPanel):
memoryDC.SelectObject(wx.NullBitmap)
rgb = bmp.ConvertToImage().GetData()
rgb = np.fromstring(rgb, dtype=np.uint8)
rgb = np.frombuffer(rgb, dtype=np.uint8)
data[:, :, :3] = rgb.reshape(height, width, 3)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment