diff --git a/overlap2d/src/com/uwsoft/editor/view/ui/widget/actors/SpineActor.java b/overlap2d/src/com/uwsoft/editor/view/ui/widget/actors/SpineActor.java index 1791003b8..6fc178a3e 100644 --- a/overlap2d/src/com/uwsoft/editor/view/ui/widget/actors/SpineActor.java +++ b/overlap2d/src/com/uwsoft/editor/view/ui/widget/actors/SpineActor.java @@ -8,7 +8,6 @@ import com.esotericsoftware.spine.attachments.Attachment; import com.esotericsoftware.spine.attachments.MeshAttachment; import com.esotericsoftware.spine.attachments.RegionAttachment; -import com.esotericsoftware.spine.attachments.WeightedMeshAttachment; import com.uwsoft.editor.renderer.resources.IResourceRetriever; public class SpineActor extends Actor { @@ -41,7 +40,7 @@ private void computeBoundBox() { Slot slot = skeleton.getSlots().get(i); Attachment attachment = slot.getAttachment(); if (attachment == null) continue; - if (!((attachment instanceof RegionAttachment) || (attachment instanceof MeshAttachment) || (attachment instanceof WeightedMeshAttachment))) continue; + if (!((attachment instanceof RegionAttachment) || (attachment instanceof MeshAttachment))) continue; float[] vertices = new float[0]; if ((attachment instanceof RegionAttachment)) { RegionAttachment region = (RegionAttachment) attachment; @@ -53,11 +52,6 @@ private void computeBoundBox() { region.updateWorldVertices(slot, false); vertices = region.getWorldVertices(); } - if ((attachment instanceof WeightedMeshAttachment)) { - WeightedMeshAttachment region = (WeightedMeshAttachment) attachment; - region.updateWorldVertices(slot, false); - vertices = region.getWorldVertices(); - } for (int ii = 0, nn = vertices.length; ii < nn; ii += 5) {