mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 20:55:54 +08:00
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:
parent
5e63c0df48
commit
6da5dda44f
@ -44,6 +44,7 @@ class BuildVolume(SceneNode):
|
|||||||
self._z_axis_color = None
|
self._z_axis_color = None
|
||||||
self._disallowed_area_color = None
|
self._disallowed_area_color = None
|
||||||
self._error_area_color = None
|
self._error_area_color = None
|
||||||
|
self._grid_color = None
|
||||||
|
|
||||||
self._width = 0
|
self._width = 0
|
||||||
self._height = 0
|
self._height = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user