提交 93a6808a 编写于 作者: M Mr.doob

Editor: Display indices count.

上级 fe50ed21
......@@ -17,6 +17,17 @@ Sidebar.Geometry.BufferGeometry = function ( signals ) {
container.clear();
container.setDisplay( 'block' );
var index = geometry.index;
if ( index !== null ) {
var panel = new UI.Panel();
panel.add( new UI.Text( 'index' ).setWidth( '90px' ) );
panel.add( new UI.Text( ( index.count ).format() ).setFontSize( '12px' ) );
container.add( panel );
}
var attributes = geometry.attributes;
for ( var name in attributes ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册