v3.3 cc.RotateBy:create(1,{x=0,y=90,z=0}),一直报错,但又有效果,求解

有项目用到按Y轴旋转的效果,之前Quick3.2里用cc.RotateBy:create(1,{x=0,y=90,z=0}),没问题
但升级到v3.3rc0 rc1 final,旋转效果正常,但就是报一堆的错误提示,这是什么问题,求解。

error:
cc.RotateBy:create argument #3 is ‘table’; ‘number’ expected.

error:
cc.RotateBy:create argument #3 is ‘table’; ‘number’ expected.

error:
cc.RotateBy:create argument #3 is ‘table’; ‘number’ expected.

error:
cc.RotateBy:create argument #3 is ‘table’; ‘number’ expected.

error:
cc.RotateBy:create argument #3 is ‘table’; ‘number’ expected.

error:
cc.RotateBy:create argument #3 is ‘table’; ‘number’ expected.

error:
cc.RotateBy:create argument #3 is ‘table’; ‘number’ expected.

error:
cc.RotateBy:create argument #3 is ‘table’; ‘number’ expected.

自动生成的绑定代码的bug

可以这么用 cc.RotateBy:create(1,{0, 90, 0}) 试试

do
{
if (argc == 2)
{
double arg0;
ok &= luaval_to_number(tolua_S, 2,&arg0, “cc.RotateBy:create”);
if (!ok) { break; }
double arg1;
ok &= luaval_to_number(tolua_S, 3,&arg1, “cc.RotateBy:create”);
if (!ok) { break; }
cocos2d::RotateBy* ret = cocos2d::RotateBy::create(arg0, arg1);
object_to_luavalcocos2d::RotateBy(tolua_S, “cc.RotateBy”,(cocos2d::RotateBy*)ret);
return 1;
}
} while (0);
ok = true;
do
{
if (argc == 2)
{
double arg0;
ok &= luaval_to_number(tolua_S, 2,&arg0, “cc.RotateBy:create”);
if (!ok) { break; }
cocos2d::Vec3 arg1;
ok &= luaval_to_vec3(tolua_S, 3, &arg1, “cc.RotateBy:create”);
if (!ok) { break; }
cocos2d::RotateBy* ret = cocos2d::RotateBy::create(arg0, arg1);
object_to_luavalcocos2d::RotateBy(tolua_S, “cc.RotateBy”,(cocos2d::RotateBy*)ret);
return 1;
}
} while (0);
1、两个参数先执行上面的 luaval_to_number,最后走到luaval_to_native_err 报出的错误消息
2、效果正常,是因为接下来执行luaval_to_vec3