Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Miguel Lopez
Krita
Commits
17113811
Commit
17113811
authored
Jul 20, 2014
by
Sven Langkamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix loading of aoc palettes, K channel had the wrong index
parent
59ddfa43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libs/pigment/resources/KoColorSet.cpp
libs/pigment/resources/KoColorSet.cpp
+1
-1
No files found.
libs/pigment/resources/KoColorSet.cpp
View file @
17113811
...
...
@@ -488,7 +488,7 @@ bool KoColorSet::loadAco()
reinterpret_cast
<
quint16
*>
(
e
.
color
.
data
())[
0
]
=
quint16_MAX
-
ch1
;
reinterpret_cast
<
quint16
*>
(
e
.
color
.
data
())[
1
]
=
quint16_MAX
-
ch2
;
reinterpret_cast
<
quint16
*>
(
e
.
color
.
data
())[
2
]
=
quint16_MAX
-
ch3
;
reinterpret_cast
<
quint16
*>
(
e
.
color
.
data
())[
4
]
=
quint16_MAX
-
ch4
;
reinterpret_cast
<
quint16
*>
(
e
.
color
.
data
())[
3
]
=
quint16_MAX
-
ch4
;
e
.
color
.
setOpacity
(
OPACITY_OPAQUE_U8
);
}
else
if
(
colorSpace
==
7
)
{
// LAB
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment