mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
Merge branch 'main' into debugging-client
This commit is contained in:
commit
091542da39
32 changed files with 220 additions and 166 deletions
|
|
@ -380,7 +380,7 @@ static int p_get_region(UINode* node, lua::State* L) {
|
|||
|
||||
static int p_get_data(UINode* node, lua::State* L) {
|
||||
if (auto canvas = dynamic_cast<Canvas*>(node)) {
|
||||
return lua::newuserdata<lua::LuaCanvas>(L, canvas->texture(), canvas->data());
|
||||
return lua::newuserdata<lua::LuaCanvas>(L, canvas->getTexture(), canvas->getData());
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue