I found some of the features of the DataModel bindings not working, e.g. Set method does pointer to sol::object conversion to primitive types, which simply crashes the app. Another issue is that the lua table is not being updated when assigning to data model from rml.
On the other hand, I noticed that
|
DataVariable SolLuaObjectDef::Child(void* ptr, const Rml::DataAddressEntry& address) |
contains most of the code, but I can't even get there.
Could you clarify how it's supposed to be used?
PS I fixed the above issues locally, now I'm trying to figure out is there a more convenient to deal with nested tables and arrays, that's why I'm also curios about Child call
I found some of the features of the
DataModelbindings not working, e.g.Setmethod does pointer tosol::objectconversion to primitive types, which simply crashes the app. Another issue is that the lua table is not being updated when assigning to data model from rml.On the other hand, I noticed that
RmlSolLua/src/plugin/SolLuaDataModel.cpp
Line 78 in 7434be8
Could you clarify how it's supposed to be used?
PS I fixed the above issues locally, now I'm trying to figure out is there a more convenient to deal with nested tables and arrays, that's why I'm also curios about
Childcall