-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Milestone
Description
- cocos2d-x version: 3.17.1
- devices test on: macOS 10.14.4
- developing environments
- Xcode version: 10.1
Steps to Reproduce:
- Send event from Spine animation
- when we recieve spine animation event in lua, evenData members have incorrect values
The issue in lines
cocos2d-x/cocos/scripting/lua-bindings/manual/spine/lua_cocos2dx_spine_manual.cpp
Lines 212 to 214 in c36dbb4
eventData.insert(eventData.end(), LuaValueDict::value_type("intValue", LuaValue::intValue(event->intValue))); | |
eventData.insert(eventData.end(), LuaValueDict::value_type("floatValue", LuaValue::floatValue(event->floatValue))); | |
eventData.insert(eventData.end(), LuaValueDict::value_type("stringValue", LuaValue::stringValue(event->stringValue))); |
it uses event->intValue but it must use event->data->intValue.
events members intValue, floatValue, stringValue are incorrect
Metadata
Metadata
Assignees
Labels
No labels