Browse Source

Merge remote-tracking branch 'edmellum/patch-1' into dev

Mr.doob 13 years ago
parent
commit
ca2eecb3f6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/extras/loaders/SceneLoader.js

+ 3 - 0
src/extras/loaders/SceneLoader.js

@@ -577,6 +577,9 @@ THREE.SceneLoader.prototype.createScene = function ( json, callbackFinished, url
 
 			var modelJson = data.embeds[ g.id ],
 				texture_path = "";
+			
+			// Pass metadata along to jsonLoader so it knows the format version.
+			modelJson.metadata = data.metadata;
 
 			if ( modelJson ) {