|
@@ -104,7 +104,7 @@ public class SkeletonRendererDebug {
|
|
Array<Slot> slots = skeleton.getSlots();
|
|
Array<Slot> slots = skeleton.getSlots();
|
|
for (int i = 0, n = slots.size; i < n; i++) {
|
|
for (int i = 0, n = slots.size; i < n; i++) {
|
|
Slot slot = slots.get(i);
|
|
Slot slot = slots.get(i);
|
|
- Attachment attachment = slot.getAttachment();
|
|
|
|
|
|
+ Attachment attachment = slot.attachment;
|
|
if (attachment instanceof RegionAttachment) {
|
|
if (attachment instanceof RegionAttachment) {
|
|
RegionAttachment regionAttachment = (RegionAttachment)attachment;
|
|
RegionAttachment regionAttachment = (RegionAttachment)attachment;
|
|
float[] vertices = regionAttachment.updateWorldVertices(slot, false);
|
|
float[] vertices = regionAttachment.updateWorldVertices(slot, false);
|
|
@@ -120,7 +120,7 @@ public class SkeletonRendererDebug {
|
|
Array<Slot> slots = skeleton.getSlots();
|
|
Array<Slot> slots = skeleton.getSlots();
|
|
for (int i = 0, n = slots.size; i < n; i++) {
|
|
for (int i = 0, n = slots.size; i < n; i++) {
|
|
Slot slot = slots.get(i);
|
|
Slot slot = slots.get(i);
|
|
- Attachment attachment = slot.getAttachment();
|
|
|
|
|
|
+ Attachment attachment = slot.attachment;
|
|
if (!(attachment instanceof MeshAttachment)) continue;
|
|
if (!(attachment instanceof MeshAttachment)) continue;
|
|
MeshAttachment mesh = (MeshAttachment)attachment;
|
|
MeshAttachment mesh = (MeshAttachment)attachment;
|
|
mesh.updateWorldVertices(slot, false);
|
|
mesh.updateWorldVertices(slot, false);
|
|
@@ -169,7 +169,7 @@ public class SkeletonRendererDebug {
|
|
Array<Slot> slots = skeleton.getSlots();
|
|
Array<Slot> slots = skeleton.getSlots();
|
|
for (int i = 0, n = slots.size; i < n; i++) {
|
|
for (int i = 0, n = slots.size; i < n; i++) {
|
|
Slot slot = slots.get(i);
|
|
Slot slot = slots.get(i);
|
|
- Attachment attachment = slot.getAttachment();
|
|
|
|
|
|
+ Attachment attachment = slot.attachment;
|
|
if (!(attachment instanceof PathAttachment)) continue;
|
|
if (!(attachment instanceof PathAttachment)) continue;
|
|
PathAttachment path = (PathAttachment)attachment;
|
|
PathAttachment path = (PathAttachment)attachment;
|
|
int nn = path.getWorldVerticesLength();
|
|
int nn = path.getWorldVerticesLength();
|