diff options
author | RealBadAngel <maciej.kasatkin@o2.pl> | 2014-10-15 04:13:53 +0200 |
---|---|---|
committer | RealBadAngel <maciej.kasatkin@o2.pl> | 2014-10-18 16:42:23 +0200 |
commit | 0066bd77d25793b76fdaa9a62755cca934f0121d (patch) | |
tree | 61760994616113cd307d6dc6c2980f5f547fa78f /src/script/common/c_content.cpp | |
parent | d1ccc64e1ecfd00df36d2b8a8b3420b70434fefd (diff) | |
download | minetest-0066bd77d25793b76fdaa9a62755cca934f0121d.tar.gz minetest-0066bd77d25793b76fdaa9a62755cca934f0121d.tar.bz2 minetest-0066bd77d25793b76fdaa9a62755cca934f0121d.zip |
Add meshnode drawtype.
Diffstat (limited to 'src/script/common/c_content.cpp')
-rw-r--r-- | src/script/common/c_content.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp index 2f749043e..4737f1993 100644 --- a/src/script/common/c_content.cpp +++ b/src/script/common/c_content.cpp @@ -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 |