diff --git a/defold-spine/commonsrc/vertices.cpp b/defold-spine/commonsrc/vertices.cpp index 7c5c6ad..0ed46f1 100644 --- a/defold-spine/commonsrc/vertices.cpp +++ b/defold-spine/commonsrc/vertices.cpp @@ -23,7 +23,7 @@ static inline void addVertex(dmSpine::SpineVertex* vertex, float x, float y, flo vertex->g = g; vertex->b = b; vertex->a = a; - vertex->page_index = 0; + vertex->page_index = page_index; } template