Macguffin

Hi just noticed that the export for 3.8.72 no longer included the Color property for bounding boxes.
Has this been removed for a reason or is it a bug?

I was sometimes using this property in my projects when reading the json.

Thanks
Matt
Аватара пользователя
Macguffin
  • Сообщения: 30

Søren

Are you sure you didn't just disable Nonessential data in the Export settings?

I've just tested with 3.8.72 and didn't find any issues exporting the color property.
Аватара пользователя
Søren

Shiu
  • Сообщения: 2396

Macguffin

Hi, I do have nonessential checked but my export json doesn't have color property.

If I set the slot colour this does export, maybe this is what you are seeing?
{
"name": "boundingBox",
"bone": "PLAY_BUTTON",
"color": "f40000ff",
"attachment": "boundingBox"
}
but there used to be a color property associated with the bounding box colour which looked like this, which is no longer there (see screenshot)
"_i_auto": {
"_i_auto": {
"type": "boundingbox",
"vertexCount": 4,
"vertices": [ -184.08, 112.54, 188.79, 113.51, 184.9, -152.54, -185.05, -150.6 ],
"color": "5ef000ff"
}
}
Thanks
Matt
У вас нет необходимых прав для просмотра вложений в этом сообщении.
Аватара пользователя
Macguffin
  • Сообщения: 30

Søren

Ah, it looks like the Color property is not exported if the bounding box is using the default color. Try changing the color, and then see if it exports.
Аватара пользователя
Søren

Shiu
  • Сообщения: 2396

Macguffin

Thanks, you are right - thought I'd checked that. My mistake :)
Аватара пользователя
Macguffin
  • Сообщения: 30

Søren

No worries, I'm just happy we were able to resolve the issue.
Аватара пользователя
Søren

Shiu
  • Сообщения: 2396


Вернуться в Editor