mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-12 16:58:39 +00:00
Degrotate support for mesh nodes (#7840)
This commit is contained in:
parent
fde2785fe3
commit
3b78a22371
11 changed files with 113 additions and 13 deletions
|
@ -685,7 +685,8 @@ void read_content_features(lua_State *L, ContentFeatures &f, int index)
|
|||
if (!f.palette_name.empty() &&
|
||||
!(f.param_type_2 == CPT2_COLOR ||
|
||||
f.param_type_2 == CPT2_COLORED_FACEDIR ||
|
||||
f.param_type_2 == CPT2_COLORED_WALLMOUNTED))
|
||||
f.param_type_2 == CPT2_COLORED_WALLMOUNTED ||
|
||||
f.param_type_2 == CPT2_COLORED_DEGROTATE))
|
||||
warningstream << "Node " << f.name.c_str()
|
||||
<< " has a palette, but not a suitable paramtype2." << std::endl;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue