Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2017-08-17 11:21:48 +0300
committerGhostkeeper <rubend@tutanota.com>2017-08-17 11:21:48 +0300
commit6da5dda44fc1f77abc1051c6564a2ec31435942a (patch)
tree5844c3e7aa57a7d075283df57abc4da6a27416f0 /cura/BuildVolume.py
parent5e63c0df48d44e4b4bd23f7da29443ea47d77cf3 (diff)
Initialise _grid_color in __init__
All fields should always be defined throughout the lifetime of every object, according to code style. Contributes to issue CURA-4150.
Diffstat (limited to 'cura/BuildVolume.py')
-rwxr-xr-xcura/BuildVolume.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py
index 2d1526aee5..1089a0a806 100755
--- a/cura/BuildVolume.py
+++ b/cura/BuildVolume.py
@@ -44,6 +44,7 @@ class BuildVolume(SceneNode):
self._z_axis_color = None
self._disallowed_area_color = None
self._error_area_color = None
+ self._grid_color = None
self._width = 0
self._height = 0