Procházet zdrojové kódy

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

Mr.doob před 13 roky
rodič
revize
0832354cd4
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      examples/webgl_materials_texture_filters.html

+ 3 - 1
examples/webgl_materials_texture_filters.html

@@ -140,7 +140,9 @@
 
 				// PAINTING
 
-				var callbackPainting = function( image ) {
+				var callbackPainting = function() {
+
+					var image = texturePainting.image;
 
 					texturePainting2.image = image;
 					texturePainting2.needsUpdate = true;