File tree 4 files changed +9
-4
lines changed
4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -1845,6 +1845,9 @@ define([
1845
1845
1846
1846
///////////////////////////////////////////////////////////////////////////
1847
1847
1848
+ /**
1849
+ * @private
1850
+ */
1848
1851
Cesium3DTileset . prototype . update = function ( frameState ) {
1849
1852
if ( frameState . mode === SceneMode . MORPHING ) {
1850
1853
return ;
Original file line number Diff line number Diff line change @@ -481,7 +481,7 @@ define([
481
481
// Use same random values across all runs
482
482
if ( ! defined ( randomValues ) ) {
483
483
CesiumMath . setRandomNumberSeed ( 0 ) ;
484
- randomValues = new Array ( 20 ) ;
484
+ randomValues = new Array ( samplesLength ) ;
485
485
for ( var i = 0 ; i < samplesLength ; ++ i ) {
486
486
randomValues [ i ] = CesiumMath . nextRandomNumber ( ) ;
487
487
}
Original file line number Diff line number Diff line change @@ -614,6 +614,9 @@ define([
614
614
clippingPlanesDirty : false
615
615
} ;
616
616
617
+ /**
618
+ * @private
619
+ */
617
620
TimeDynamicPointCloud . prototype . update = function ( frameState ) {
618
621
if ( frameState . mode === SceneMode . MORPHING ) {
619
622
return ;
Original file line number Diff line number Diff line change @@ -1148,10 +1148,9 @@ defineSuite([
1148
1148
1149
1149
return pollToPromise ( function ( ) {
1150
1150
pointCloud . update ( scene . frameState ) ;
1151
- var frame = pointCloud . _frames [ 0 ] ;
1152
- return defined ( frame ) && frame . ready ;
1151
+ return defined ( pointCloud . boundingSphere ) ;
1153
1152
} ) . then ( function ( ) {
1154
- return pointCloud ;
1153
+ return pointCloud . readyPromise ;
1155
1154
} ) ;
1156
1155
}
1157
1156
You can’t perform that action at this time.
0 commit comments