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

GLTFExporter: Add a comment for image cache.

Takahiro 8 лет назад
Родитель
Сommit
7ae7b5babc
1 измененных файлов с 2 добавлено и 0 удалено
  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 = [];

粤ICP备19079148号