Dharengo / Spriter2UnityDX

Converts Spriter .scml files to Unity prefabs
155 stars 41 forks source link

Fix infinite-loop bug. #3

Closed craigmjohnston closed 9 years ago

craigmjohnston commented 9 years ago

Tiny change where the prefab builder was incorrectly checking the pivot of imported sprites and creating an infinite loop. There was also a missing semicolon in the latest commit.

Dharengo commented 9 years ago

Can you explain what adding that "1-" does? Otherwise looks good.

craigmjohnston commented 9 years ago

I... will have to get back to you on that. Hm. I swear I had a good reason for it, and it seemed to fix the problem, but now that I look at the code I'm actually using it doesn't have that change in it and it works fine.

Perils of working early in the morning!

Dharengo commented 9 years ago

I'll wait with merging it then until I know whether or not it fixes something and what it fixes.