mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 09:16:01 +08:00
Corrected Tint black (#2122)
Tint black wasn't working correctly because the red channelwas discarded by error, replacing it by the green channel.
This commit is contained in:
parent
4386cb8c8e
commit
b0a609f027
@ -967,7 +967,7 @@ Animation *SkeletonJson::readAnimation(Json *root, SkeletonData *skeletonData) {
|
|||||||
toColor(color2, Json::getString(keyMap, "dark", 0), false);
|
toColor(color2, Json::getString(keyMap, "dark", 0), false);
|
||||||
|
|
||||||
for (frame = 0, bezier = 0;; ++frame) {
|
for (frame = 0, bezier = 0;; ++frame) {
|
||||||
timeline->setFrame(frame, time, color.r, color.g, color.b, color.a, color2.g, color2.g, color2.b);
|
timeline->setFrame(frame, time, color.r, color.g, color.b, color.a, color2.r, color2.g, color2.b);
|
||||||
nextMap = keyMap->_next;
|
nextMap = keyMap->_next;
|
||||||
if (!nextMap) {
|
if (!nextMap) {
|
||||||
// timeline.shrink(); // BOZO
|
// timeline.shrink(); // BOZO
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user