File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
xtraplatform-tiles3d/src/main/java/de/ii/xtraplatform/tiles3d/domain Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ static TileTree from(TileSubMatrix contents, int subtreeLevels) {
194194 .numberOfSubtrees (
195195 subtrees .size () + subtrees .stream ().mapToLong (TileTree ::getNumberOfSubtrees ).sum ())
196196 .numberOfTiles (subtrees .stream ().mapToLong (TileTree ::getNumberOfTiles ).sum ())
197+ .content (contents .getLevel () < subtreeLevels ? List .of (contents ) : List .of ())
197198 .maxContentLevel (contents .getLevel ())
198199 .build ();
199200 }
@@ -204,7 +205,7 @@ static List<TileTree> subtrees(
204205 return List .of ();
205206 }
206207
207- int deltaSub = subtreeLevels ; // - 1;
208+ int deltaSub = subtreeLevels ;
208209 int deltaCon = contents .getLevel () - level ;
209210 List <TileTree > trees = new ArrayList <>();
210211
You can’t perform that action at this time.
0 commit comments