[cpp] Closes #1713, dark color was not set in Slot::setToSetupPose().

This commit is contained in:
badlogic 2020-08-13 14:49:47 +02:00
parent bde827e66a
commit 993391602b

View File

@ -55,6 +55,7 @@ Slot::Slot(SlotData &data, Bone &bone) :
void Slot::setToSetupPose() {
_color.set(_data.getColor());
if (_hasDarkColor) _darkColor.set(_data.getDarkColor());
const String &attachmentName = _data.getAttachmentName();
if (attachmentName.length() > 0) {