texture:: all-cells-different-textures are now considered correctly mapped if geometry has not been changed

This commit is contained in:
Zeno Rogue 2019-04-08 13:50:51 +02:00
parent 84af8f2b32
commit ccb970f6fe
1 changed files with 3 additions and 0 deletions

View File

@ -1511,6 +1511,9 @@ void texture_config::remap() {
if(tstate == tsActive) {
patterns::computeCgroup();
correctly_mapped = patterns::compatible(texture::cgroup, patterns::cgroup);
if(!correctly_mapped)
correctly_mapped =
current_texture_parameters == config.orig_texture_parameters;
if(correctly_mapped) true_remap();
else addMessage(XLAT("Pattern incompatible."));
}