mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
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:
parent
b17d621243
commit
6adc4ef284
6 changed files with 16 additions and 16 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue