Эх сурвалжийг харах

FIX: clipEnd not called issue when attachment is null (#2662)

hiki 10 сар өмнө
parent
commit
41532fea5f

+ 1 - 0
spine-android/spine-android/src/main/java/com/esotericsoftware/spine/android/SkeletonRenderer.java

@@ -112,6 +112,7 @@ public class SkeletonRenderer {
 			short[] indices = null;
 			short[] indices = null;
 			Attachment attachment = slot.getAttachment();
 			Attachment attachment = slot.getAttachment();
 			if (attachment == null) {
 			if (attachment == null) {
+				clipper.clipEnd(slot);
 				continue;
 				continue;
 			}
 			}