From b1eeafadacceab4f3a70237a50d631c4875ab41b Mon Sep 17 00:00:00 2001 From: Brett Swift Date: Wed, 20 Jan 2016 15:18:19 -0500 Subject: [PATCH] Only call notifyDriverOfPrototypeAndBehaviorProps if node and threeObject exist --- support/client/lib/vwf/model/threejs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/client/lib/vwf/model/threejs.js b/support/client/lib/vwf/model/threejs.js index 46276f121..d2a07a61b 100644 --- a/support/client/lib/vwf/model/threejs.js +++ b/support/client/lib/vwf/model/threejs.js @@ -498,7 +498,7 @@ define( [ "module", // If we do not have a load a model for this node, then we are almost done, so we can update all // the driver properties w/ the stop-gap function below. // Else, it will be called at the end of the assetLoaded callback - if ( ! supportedFileType( childType ) ) { + if ( node && node.threeObject && !supportedFileType( childType ) ) { notifyDriverOfPrototypeAndBehaviorProps(); }