mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Add meshnode drawtype.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user