Просмотр исходного кода

Merge remote-tracking branch 'upstream/dev' into dev

Antonio Gomez 8 лет назад
Родитель
Сommit
dc30f78cfe
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/textures/VideoTexture.js

+ 2 - 0
src/textures/VideoTexture.js

@@ -14,6 +14,8 @@ function VideoTexture( video, mapping, wrapS, wrapT, magFilter, minFilter, forma
 
 	function update() {
 
+		var video = scope.image;
+
 		if ( video.readyState >= video.HAVE_CURRENT_DATA ) {
 
 			scope.needsUpdate = true;