Merge pull request #1808 from JonathanAnderson/patch-1
Fallback to non gr3 surface call
This commit is contained in:
commit
c6c4becf7d
@ -1058,7 +1058,11 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas)
|
|||||||
if length(x) == length(y) == length(z)
|
if length(x) == length(y) == length(z)
|
||||||
GR.trisurface(x, y, z)
|
GR.trisurface(x, y, z)
|
||||||
else
|
else
|
||||||
GR.gr3.surface(x, y, z, GR.OPTION_COLORED_MESH)
|
try
|
||||||
|
GR.gr3.surface(x, y, z, GR.OPTION_COLORED_MESH)
|
||||||
|
catch
|
||||||
|
GR.surface(x, y, z, GR.OPTION_COLORED_MESH)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
GR.setfillcolorind(0)
|
GR.setfillcolorind(0)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user