Skip to content

Commit 33cc46b

Browse files
committed
update sort for load
1 parent 4d976f9 commit 33cc46b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Source/Scene/Cesium3DTileset.js

+1-9
Original file line numberDiff line numberDiff line change
@@ -1164,15 +1164,7 @@ define([
11641164
return diff;
11651165
}
11661166

1167-
var ancestorA = a._ancestorWithLoadedContent;
1168-
var ancestorB = b._ancestorWithLoadedContent;
1169-
1170-
if (ancestorA === ancestorB) {
1171-
return diff;
1172-
}
1173-
1174-
var screenSpaceErrorDiff = b._screenSpaceError - a._screenSpaceError;
1175-
return screenSpaceErrorDiff === 0 ? diff : screenSpaceErrorDiff;
1167+
return b._screenSpaceError - a._screenSpaceError;
11761168
}
11771169

11781170
///////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)