Merge pull request #585 from tbreloff/sd/dev

use more unique name
This commit is contained in:
Tom Breloff 2016-11-22 12:36:09 -05:00 committed by GitHub
commit 0b47aafd14

View File

@ -159,12 +159,12 @@ function create_window(plt::Plot{GLVisualizeBackend}, visible)
# make sure we have any screen open
if isempty(GLVisualize.get_screens())
# create a fresh, new screen
s = GLVisualize.glscreen(
parent_screen = GLVisualize.glscreen(
"Plot",
resolution = plt[:size],
visible = visible
)
@async GLWindow.waiting_renderloop(s)
@async GLWindow.waiting_renderloop(parent_screen)
end
# now lets get ourselves a permanent Plotting screen
plot_screens = get_plot_screen(GLVisualize.get_screens(), name)