瀏覽代碼

BufferGeometry dynamic to true by default.

Mr.doob 12 年之前
父節點
當前提交
b015c544c7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/BufferGeometry.js

+ 1 - 1
src/core/BufferGeometry.js

@@ -13,7 +13,7 @@ THREE.BufferGeometry = function () {
 
 	// attributes typed arrays are kept only if dynamic flag is set
 
-	this.dynamic = false;
+	this.dynamic = true;
 
 	// offsets for chunks when using indexed elements