|
@@ -35,7 +35,7 @@ function SidebarGeometryBufferGeometry( editor ) {
|
|
|
if ( index !== null ) {
|
|
|
|
|
|
containerAttributes.add( new UIText( strings.getKey( 'sidebar/geometry/buffer_geometry/index' ) ).setWidth( '80px' ) );
|
|
|
- containerAttributes.add( new UIText( ( index.count ).format() ).setFontSize( '12px' ) );
|
|
|
+ containerAttributes.add( new UIText( editor.utils.formatNumber( index.count ) ).setFontSize( '12px' ) );
|
|
|
containerAttributes.add( new UIBreak() );
|
|
|
|
|
|
}
|
|
@@ -47,7 +47,7 @@ function SidebarGeometryBufferGeometry( editor ) {
|
|
|
const attribute = attributes[ name ];
|
|
|
|
|
|
containerAttributes.add( new UIText( name ).setWidth( '80px' ) );
|
|
|
- containerAttributes.add( new UIText( ( attribute.count ).format() + ' (' + attribute.itemSize + ')' ).setFontSize( '12px' ) );
|
|
|
+ containerAttributes.add( new UIText( editor.utils.formatNumber( attribute.count ) + ' (' + attribute.itemSize + ')' ).setFontSize( '12px' ) );
|
|
|
containerAttributes.add( new UIBreak() );
|
|
|
|
|
|
}
|
|
@@ -76,7 +76,7 @@ function SidebarGeometryBufferGeometry( editor ) {
|
|
|
const morphTargets = morphAttributes[ name ];
|
|
|
|
|
|
containerMorphAttributes.add( new UIText( name ).setWidth( '80px' ) );
|
|
|
- containerMorphAttributes.add( new UIText( ( morphTargets.length ).format() ).setFontSize( '12px' ) );
|
|
|
+ containerMorphAttributes.add( new UIText( editor.utils.formatNumber( morphTargets.length ) ).setFontSize( '12px' ) );
|
|
|
containerMorphAttributes.add( new UIBreak() );
|
|
|
|
|
|
}
|