Skip to content
Snippets Groups Projects
Commit dd7e8a26 authored by Paul McCarthy's avatar Paul McCarthy
Browse files

Increased maximum render texture resolution, and GLLineVector

resolution. DisplayContext sync overlay order is off by default.
parent ab094ecf
No related branches found
No related tags found
No related merge requests found
......@@ -178,10 +178,11 @@ class DisplayContext(props.SyncableHasProperties):
'displaySpace',
'bounds',
'autoDisplay'],
nobind=[ 'syncOverlayDisplay'])
nobind=[ 'syncOverlayDisplay'],
state={'overlayOrder' : False})
self.__overlayList = overlayList
self.__name = '{}_{}'.format(self.__class__.__name__, id(self))
self.__name = '{}_{}'.format(self.__class__.__name__, id(self))
# Keep track of the overlay list length so
# we can do some things in the
......
......@@ -88,8 +88,8 @@ class GLLineVector(glvector.GLVector):
"""
res = list(glvector.GLVector.getDataResolution(self, xax, yax))
res[xax] *= 16
res[yax] *= 16
res[xax] *= 20
res[yax] *= 20
return res
......
......@@ -295,7 +295,7 @@ class GLObjectRenderTexture(RenderTexture):
size can be re-calculated.
"""
def __init__(self, name, globj, xax, yax, maxResolution=1024):
def __init__(self, name, globj, xax, yax, maxResolution=2048):
"""Create a ``GLObjectRenderTexture``.
:arg name: A unique name for this ``GLObjectRenderTexture``.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment