diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-10-18 11:31:23 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-10-18 11:31:23 +0300 |
commit | 05ab58cd145785867e3836ff025f11ce6fdd9410 (patch) | |
tree | 23dc25848a2773713339d7361293304e1cd3c27b /src/mapnode.cpp | |
parent | eae2d35ca568ccb652169f83e6a995db273fba94 (diff) | |
download | minetest-05ab58cd145785867e3836ff025f11ce6fdd9410.tar.gz minetest-05ab58cd145785867e3836ff025f11ce6fdd9410.tar.bz2 minetest-05ab58cd145785867e3836ff025f11ce6fdd9410.zip |
Automate texture listing for texture atlas making
Diffstat (limited to 'src/mapnode.cpp')
-rw-r--r-- | src/mapnode.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapnode.cpp b/src/mapnode.cpp index 170500f45..484fcbe0a 100644 --- a/src/mapnode.cpp +++ b/src/mapnode.cpp @@ -42,6 +42,8 @@ ContentFeatures::~ContentFeatures() #ifndef SERVER void ContentFeatures::setTexture(u16 i, std::string name, u8 alpha) { + used_texturenames[name] = true; + if(g_texturesource) { tiles[i].texture = g_texturesource->getTexture(name); |