mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add meshnode drawtype.
This commit is contained in:
parent
d1ccc64e1e
commit
0066bd77d2
11 changed files with 374 additions and 6 deletions
|
@ -281,6 +281,9 @@ ContentFeatures read_content_features(lua_State *L, int index)
|
|||
ScriptApiNode::es_DrawType,NDT_NORMAL);
|
||||
getfloatfield(L, index, "visual_scale", f.visual_scale);
|
||||
|
||||
/* Meshnode model filename */
|
||||
getstringfield(L, index, "mesh", f.mesh);
|
||||
|
||||
// tiles = {}
|
||||
lua_getfield(L, index, "tiles");
|
||||
// If nil, try the deprecated name "tile_images" instead
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue