mirror of https://github.com/axmolengine/axmol.git
Fix manual bindings for changed API in spine
This commit is contained in:
parent
d0ec24679b
commit
3fa9463ec7
|
@ -174,7 +174,7 @@ jsval spslotdata_to_jsval(JSContext* cx, spSlotData& v)
|
||||||
JS_DefineProperty(cx, tmp, "g", v.g, JSPROP_ENUMERATE | JSPROP_PERMANENT) &&
|
JS_DefineProperty(cx, tmp, "g", v.g, JSPROP_ENUMERATE | JSPROP_PERMANENT) &&
|
||||||
JS_DefineProperty(cx, tmp, "b", v.b, JSPROP_ENUMERATE | JSPROP_PERMANENT) &&
|
JS_DefineProperty(cx, tmp, "b", v.b, JSPROP_ENUMERATE | JSPROP_PERMANENT) &&
|
||||||
JS_DefineProperty(cx, tmp, "a", v.a, JSPROP_ENUMERATE | JSPROP_PERMANENT) &&
|
JS_DefineProperty(cx, tmp, "a", v.a, JSPROP_ENUMERATE | JSPROP_PERMANENT) &&
|
||||||
JS_DefineProperty(cx, tmp, "additiveBlending", v.additiveBlending, JSPROP_ENUMERATE | JSPROP_PERMANENT) &&
|
JS_DefineProperty(cx, tmp, "blendMode", v.blendMode, JSPROP_ENUMERATE | JSPROP_PERMANENT) &&
|
||||||
JS_DefineProperty(cx, tmp, "boneData", JS::RootedValue(cx, spbonedata_to_jsval(cx, v.boneData)), JSPROP_ENUMERATE | JSPROP_PERMANENT);
|
JS_DefineProperty(cx, tmp, "boneData", JS::RootedValue(cx, spbonedata_to_jsval(cx, v.boneData)), JSPROP_ENUMERATE | JSPROP_PERMANENT);
|
||||||
|
|
||||||
if (ok)
|
if (ok)
|
||||||
|
|
2
web
2
web
|
@ -1 +1 @@
|
||||||
Subproject commit dd8735056c87ffb22502e7178c01d92d9b8cdc65
|
Subproject commit 18c6047a6f8952254cdbc6de7f120f8959af0ba7
|
Loading…
Reference in New Issue