浏览代码

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

Mr.doob 13 年之前
父节点
当前提交
0832354cd4
共有 1 个文件被更改,包括 3 次插入1 次删除
  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;