|
@@ -233,7 +233,7 @@ namespace Spine.Unity {
|
|
|
buffer = buffer ?? new Vector2[bufferTargetSize];
|
|
|
if (buffer.Length < bufferTargetSize) throw new System.ArgumentException(string.Format("Vector2 buffer too small. {0} requires an array of size {1}. Use the attachment's .WorldVerticesLength to get the correct size.", va.Name, floatsCount), "buffer");
|
|
|
|
|
|
- if (va.Bones == null) {
|
|
|
+ if (va.Bones == null && va.DeformAttachment == null) {
|
|
|
var localVerts = va.Vertices;
|
|
|
for (int i = 0; i < bufferTargetSize; i++) {
|
|
|
int j = i * 2;
|