|
|
@ -325,6 +325,7 @@ class RasterView: |
|
|
|
obj.ViewObject.ShapeMaterial.EmissiveColor = props[5] |
|
|
|
obj.ViewObject.ShapeMaterial.EmissiveColor = props[5] |
|
|
|
obj.ViewObject.LineWidth = props[6] |
|
|
|
obj.ViewObject.LineWidth = props[6] |
|
|
|
obj.ViewObject.DisplayMode = props[7] |
|
|
|
obj.ViewObject.DisplayMode = props[7] |
|
|
|
|
|
|
|
obj.ViewObject.PointMaterial.Transparency = 0 |
|
|
|
|
|
|
|
|
|
|
|
# remove the temporary document |
|
|
|
# remove the temporary document |
|
|
|
if close_tmp_doc: |
|
|
|
if close_tmp_doc: |
|
|
@ -403,6 +404,8 @@ class RasterView: |
|
|
|
configured.append(obj) |
|
|
|
configured.append(obj) |
|
|
|
|
|
|
|
|
|
|
|
if self._should_render(obj) and not fast_render: |
|
|
|
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.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.AmbientColor = (0.0, 0.0, 0.0, 0.0) |
|
|
|
obj.ViewObject.ShapeMaterial.DiffuseColor = (0.0, 0.0, 0.0, 0.0) |
|
|
|
obj.ViewObject.ShapeMaterial.DiffuseColor = (0.0, 0.0, 0.0, 0.0) |
|
|
|