|
|
@@ -34,7 +34,7 @@ function SidebarGeometryBufferGeometry( editor ) {
|
|
|
|
|
|
if ( index !== null ) {
|
|
|
|
|
|
- containerAttributes.add( new UIText( strings.getKey( 'sidebar/geometry/buffer_geometry/index' ) ).setWidth( '80px' ) );
|
|
|
+ containerAttributes.add( new UIText( strings.getKey( 'sidebar/geometry/buffer_geometry/index' ) ).setWidth( '70px' ) );
|
|
|
containerAttributes.add( new UIText( editor.utils.formatNumber( index.count ) ).setFontSize( '12px' ) );
|
|
|
containerAttributes.add( new UIBreak() );
|
|
|
|
|
|
@@ -46,8 +46,17 @@ function SidebarGeometryBufferGeometry( editor ) {
|
|
|
|
|
|
const attribute = attributes[ name ];
|
|
|
|
|
|
- containerAttributes.add( new UIText( name ).setWidth( '80px' ) );
|
|
|
- containerAttributes.add( new UIText( editor.utils.formatNumber( attribute.count ) + ' (' + attribute.itemSize + ')' ).setFontSize( '12px' ) );
|
|
|
+ containerAttributes.add( new UIText( name ).setWidth( '70px' ) );
|
|
|
+
|
|
|
+ let info = editor.utils.formatNumber( attribute.count ) + ' (' + attribute.itemSize + ')';
|
|
|
+
|
|
|
+ if ( attribute.isInterleavedBufferAttribute ) {
|
|
|
+
|
|
|
+ info += ' (' + attribute.data.stride + ')';
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ containerAttributes.add( new UIText( info ).setFontSize( '12px' ) );
|
|
|
containerAttributes.add( new UIBreak() );
|
|
|
|
|
|
}
|
|
|
@@ -75,7 +84,7 @@ function SidebarGeometryBufferGeometry( editor ) {
|
|
|
|
|
|
const morphTargets = morphAttributes[ name ];
|
|
|
|
|
|
- containerMorphAttributes.add( new UIText( name ).setWidth( '80px' ) );
|
|
|
+ containerMorphAttributes.add( new UIText( name ).setWidth( '70px' ) );
|
|
|
containerMorphAttributes.add( new UIText( editor.utils.formatNumber( morphTargets.length ) ).setFontSize( '12px' ) );
|
|
|
containerMorphAttributes.add( new UIBreak() );
|
|
|
|