Skip to content

Commit

Permalink
Merge pull request #530 from virtual-world-framework/branch/notify-dr…
Browse files Browse the repository at this point in the history
…iver-props-performance

Restrict notifyDriverOfPrototypeAndBehaviorProps to 3D nodes
  • Loading branch information
BrettASwift committed Jan 25, 2016
2 parents d0fda58 + b1eeafa commit 270d238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/client/lib/vwf/model/threejs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 270d238

Please sign in to comment.