Browse Source

GLTFExporter: Add a comment for image cache.

Takahiro 7 years ago
parent
commit
7ae7b5babc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      examples/js/exporters/GLTFExporter.js

+ 2 - 0
examples/js/exporters/GLTFExporter.js

@@ -448,6 +448,8 @@ THREE.GLTFExporter.prototype = {
 		 */
 		function processImage( map ) {
 
+			// @QUESTION Needs image cache for the case where two different textures share the same image?
+
 			if ( ! outputJSON.images ) {
 
 				outputJSON.images = [];