|
@@ -1300,7 +1300,7 @@ class GLWindow(MapWindow, glcanvas.GLCanvas):
|
|
|
# vecType.append(v)
|
|
|
layer = self.tree.GetPyData(item)[0]['maplayer']
|
|
|
npoints, nlines, nfeatures, mapIs3D = self.lmgr.nviz.VectorInfo(layer)
|
|
|
- if npoints > 0 or mapIs3D:
|
|
|
+ if npoints > 0:
|
|
|
self.LoadVector(item, points = True)
|
|
|
if nlines > 0 or mapIs3D:
|
|
|
self.LoadVector(item, points = False)
|