Mr.doob 7 年之前
父节点
当前提交
d55897b8e9
共有 6 个文件被更改,包括 208 次插入206 次删除
  1. 1 1
      .github/ISSUE_TEMPLATE.md
  2. 2 1
      build/three.js
  3. 201 201
      build/three.min.js
  4. 2 1
      build/three.module.js
  5. 1 1
      package.json
  6. 1 1
      src/constants.js

+ 1 - 1
.github/ISSUE_TEMPLATE.md

@@ -19,7 +19,7 @@ Please also include a live example if possible. You can start from these templat
 ##### Three.js version
 ##### Three.js version
 
 
 - [ ] Dev
 - [ ] Dev
-- [ ] r89
+- [ ] r90
 - [ ] ...
 - [ ] ...
 
 
 ##### Browser
 ##### Browser

+ 2 - 1
build/three.js

@@ -185,7 +185,7 @@
 
 
 	} );
 	} );
 
 
-	var REVISION = '90dev';
+	var REVISION = '90';
 	var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 };
 	var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 };
 	var CullFaceNone = 0;
 	var CullFaceNone = 0;
 	var CullFaceBack = 1;
 	var CullFaceBack = 1;
@@ -21845,6 +21845,7 @@
 
 
 		this.compile = function ( scene, camera ) {
 		this.compile = function ( scene, camera ) {
 
 
+			currentRenderState = renderStates.get( scene, camera );
 			currentRenderState.init();
 			currentRenderState.init();
 
 
 			scene.traverse( function ( object ) {
 			scene.traverse( function ( object ) {

文件差异内容过多而无法显示
+ 201 - 201
build/three.min.js


+ 2 - 1
build/three.module.js

@@ -179,7 +179,7 @@ Object.assign( EventDispatcher.prototype, {
 
 
 } );
 } );
 
 
-var REVISION = '90dev';
+var REVISION = '90';
 var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 };
 var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 };
 var CullFaceNone = 0;
 var CullFaceNone = 0;
 var CullFaceBack = 1;
 var CullFaceBack = 1;
@@ -21839,6 +21839,7 @@ function WebGLRenderer( parameters ) {
 
 
 	this.compile = function ( scene, camera ) {
 	this.compile = function ( scene, camera ) {
 
 
+		currentRenderState = renderStates.get( scene, camera );
 		currentRenderState.init();
 		currentRenderState.init();
 
 
 		scene.traverse( function ( object ) {
 		scene.traverse( function ( object ) {

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "three",
   "name": "three",
-  "version": "0.89.0",
+  "version": "0.90.0",
   "description": "JavaScript 3D library",
   "description": "JavaScript 3D library",
   "main": "build/three.js",
   "main": "build/three.js",
   "repository": "mrdoob/three.js",
   "repository": "mrdoob/three.js",

+ 1 - 1
src/constants.js

@@ -1,4 +1,4 @@
-export var REVISION = '90dev';
+export var REVISION = '90';
 export var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 };
 export var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 };
 export var CullFaceNone = 0;
 export var CullFaceNone = 0;
 export var CullFaceBack = 1;
 export var CullFaceBack = 1;

部分文件因为文件数量过多而无法显示