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

GLLabel was not setting initial ImageTexture resolution.

parent 7c01bc8a
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,8 @@ class GLLabel(globject.GLImageObject):
def imageUpdate(*a):
self.imageTexture.set(volume=opts.volume,
resolution=opts.resolution)
resolution=opts.resolution,
notify=False)
async.wait([self.imageTexture.refreshThread()], shaderUpdate)
......@@ -233,7 +234,8 @@ class GLLabel(globject.GLImageObject):
texName,
self.image,
notify=False,
volume=opts.volume)
volume=opts.volume,
resolution=opts.resolution)
self.imageTexture.register(self.name, self.__imageTextureChanged)
......
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