fix the lua template error that would lead to crash when do rotate
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop_socket
Merge pull request #6081 from samuele3hu/develop_socket

fix the lua template error that would lead to crash when do rotate