소스 검색

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

hiki 10 달 전
부모
커밋
41532fea5f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      spine-android/spine-android/src/main/java/com/esotericsoftware/spine/android/SkeletonRenderer.java

+ 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;
 			Attachment attachment = slot.getAttachment();
 			if (attachment == null) {
+				clipper.clipEnd(slot);
 				continue;
 			}