Revert "Change spelling of "colour" to "color" for consistency"

This reverts commit 963a2092ef.

I still say we should use "colour" for consistency, but that change should not be part of this branch.

CURA-333
This commit is contained in:
fieldOfView 2016-06-22 10:19:44 +02:00
parent b17d621243
commit 6adc4ef284
6 changed files with 16 additions and 16 deletions

View file

@ -63,7 +63,7 @@ class SolidView(View):
if extruder_id:
extruder_index = max(0, self._extruders_model.find("id", extruder_id))
extruder_color = self._extruders_model.getItem(extruder_index)["color"]
extruder_color = self._extruders_model.getItem(extruder_index)["colour"]
try:
# Colors are passed as rgb hex strings (eg "#ffffff"), and the shader needs
# an rgba list of floats (eg [1.0, 1.0, 1.0, 1.0])