File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/maker.js/src/core Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -486,12 +486,12 @@ namespace MakerJs.measure {
486486
487487 /**
488488 * Measures the smallest rectangle which contains a model.
489- *
489+ *
490490 * @param modelToMeasure The model to measure.
491491 * @param atlas Optional atlas to save measurements.
492492 * @returns object with low and high points.
493493 */
494- export function modelExtents ( modelToMeasure : IModel , atlas ?: Atlas ) : IMeasureWithCenter {
494+ export function modelExtents ( modelToMeasure : IModel , atlas ?: Atlas ) : IMeasureWithCenter | null {
495495
496496 function increaseParentModel ( childRoute : string [ ] , childMeasurement : IMeasure ) {
497497
@@ -537,7 +537,7 @@ namespace MakerJs.measure {
537537 return augment ( m ) ;
538538 }
539539
540- return m ;
540+ return null ;
541541 }
542542
543543
You can’t perform that action at this time.
0 commit comments