diff --git a/ahb_raster_view.py b/ahb_raster_view.py index 70760fd..0ed10b0 100644 --- a/ahb_raster_view.py +++ b/ahb_raster_view.py @@ -325,6 +325,7 @@ class RasterView: obj.ViewObject.ShapeMaterial.EmissiveColor = props[5] obj.ViewObject.LineWidth = props[6] obj.ViewObject.DisplayMode = props[7] + obj.ViewObject.PointMaterial.Transparency = 0 # remove the temporary document if close_tmp_doc: @@ -403,6 +404,8 @@ class RasterView: configured.append(obj) if self._should_render(obj) and not fast_render: + obj.ViewObject.DisplayMode = 'Flat Lines' + obj.ViewObject.PointMaterial.Transparency = 1.0 # hide points obj.ViewObject.LineColor = (0.0, 0.0, 1.0, 0.0) if link in parts else (1.0, 0.0, 1.0) obj.ViewObject.ShapeMaterial.AmbientColor = (0.0, 0.0, 0.0, 0.0) obj.ViewObject.ShapeMaterial.DiffuseColor = (0.0, 0.0, 0.0, 0.0)