Skip to content

Commit

Permalink
correct error introduced with merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jooste committed Jul 1, 2024
1 parent 09c40cd commit 88ac936
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions bluesky/ui/qtgl/glmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ def create(self):
break

def draw(self, skipmap=False):
actdata = bs.net.get_nodedata()

# Send the (possibly) updated global uniforms to the buffer
self.shaderset.set_vertex_scale_type(self.shaderset.VERTEX_IS_LATLON)

Expand All @@ -77,14 +75,10 @@ def draw(self, skipmap=False):
self.shaderset.enable_wrap(False)

if self.show_map and not skipmap:

self.map.draw()

# Skip coastlines if set to disabled
if not actdata.show_coast:
return

shaderset = glh.ShaderSet.selected
# Skip coastlines if set to disabled
if not self.show_coast:
return
if shaderset.data.wrapdir == 0:
Expand Down

0 comments on commit 88ac936

Please sign in to comment.