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.
This commit is contained in:
Ghostkeeper 2017-08-17 10:21:48 +02:00
parent 5e63c0df48
commit 6da5dda44f
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -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