Denys

Results 9 comments of Denys

@ryobg I do not want to be intrusive. I will change a single picture

@ryobg Thank you!

A possible fix: ```c++ JCToLuaValue JCToLuaValue_fromItem(const item& itm) { ... void operator ()(const form_ref& val) { auto formId = (FormIdUnredlying)val.get(); if (!formid) value = JCToLuaValue_None(); else value.form = { (FormIdUnredlying)formId...

@ryobg yeah, Form(0) should work as well

@RealAntithesis , Lua Form has an `___id` field

> That Lua does not have integeres That's not true. _CForm is a structure containing uint32 ___id field. > and everything above the 24-bit range starts to mess up Lua...

@RealAntithesis , i'm lost in assumptions. Any chance the array is modified by another Papyrus thread while iterating through values? If so, can you deepcopy and pass the copy into...

I started to understand the origins. Lua has GC. `returnLuaValue` accepts temporary `JCToLuaValue` value and returns a LINK to CForm, a CForm&, a field of `JCToLuaValue` (helper struct that carries...

@mattdesl it's not that simple, (the source code is not purely python). It turns out it uses CUDA directly, for instance in the `scene.cpp` file. [Upd] Agree, it should be...