Commit 8c67ed14 authored by Andrey Filippov's avatar Andrey Filippov

Before splitting meshes

parent 6e182b18
...@@ -2515,7 +2515,7 @@ public class TexturedModel { ...@@ -2515,7 +2515,7 @@ public class TexturedModel {
for (int ns = 0; ns < num_slices; ns++) for (int ns = 0; ns < num_slices; ns++)
if ( (ns != fnslice) && if ( (ns != fnslice) &&
// !border_tiles[ns][tile] && // do not count border BG - it will be semi-transparent // !border_tiles[ns][tile] && // do not count border BG - it will be semi-transparent
(slice_border_int[ns][tile] > max_bg_lev) && // these tiles may be semi-transparent - do not count them (slice_border_int[ns][tile] <= max_bg_lev) && // these tiles may be semi-transparent - do not count them
(slice_border_int[ns][tile] >= 0) && (slice_border_int[ns][tile] >= 0) &&
(slice_disparities[ns][tile] < slice_disparities[fnslice][tile])) { (slice_disparities[ns][tile] < slice_disparities[fnslice][tile])) {
has_bg_tile[fnslice][tile] = true; has_bg_tile[fnslice][tile] = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment