Skip to content

Commit 95ef309

Browse files
committed
r122
1 parent 261c809 commit 95ef309

File tree

6 files changed

+15
-6
lines changed

6 files changed

+15
-6
lines changed

build/three.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
};
6464
}
6565

66-
var REVISION = '122dev';
66+
var REVISION = '122';
6767
var MOUSE = {
6868
LEFT: 0,
6969
MIDDLE: 1,
@@ -20043,6 +20043,9 @@
2004320043

2004420044
VideoTexture.prototype = Object.assign(Object.create(Texture.prototype), {
2004520045
constructor: VideoTexture,
20046+
clone: function clone() {
20047+
return new this.constructor(this.image).copy(this);
20048+
},
2004620049
isVideoTexture: true,
2004720050
update: function update() {
2004820051
var video = this.image;

build/three.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/three.module.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// threejs.org/license
2-
const REVISION = '122dev';
2+
const REVISION = '122';
33
const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
44
const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
55
const CullFaceNone = 0;
@@ -27175,6 +27175,12 @@ VideoTexture.prototype = Object.assign( Object.create( Texture.prototype ), {
2717527175

2717627176
constructor: VideoTexture,
2717727177

27178+
clone: function () {
27179+
27180+
return new this.constructor( this.image ).copy( this );
27181+
27182+
},
27183+
2717827184
isVideoTexture: true,
2717927185

2718027186
update: function () {

editor/sw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// r121
1+
// r122
22

33
const assets = [
44
'./',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "three",
3-
"version": "0.121.1",
3+
"version": "0.122.0",
44
"description": "JavaScript 3D library",
55
"main": "build/three.js",
66
"module": "build/three.module.js",

src/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const REVISION = '122dev';
1+
export const REVISION = '122';
22
export const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
33
export const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
44
export const CullFaceNone = 0;

0 commit comments

Comments
 (0)