mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-13 02:28:44 +08:00
[cpp] Closes #1713, dark color was not set in Slot::setToSetupPose().
This commit is contained in:
parent
bde827e66a
commit
993391602b
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user