Skip to content

Commit

Permalink
Switch to use defaultValue.
Browse files Browse the repository at this point in the history
  • Loading branch information
emackey committed Sep 9, 2014
1 parent adcaa4e commit b8bb6e0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/Scene/Scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,7 @@ define([
this._frustumCommandsList = [];
this._overlayCommandList = [];

this._oit = (defined(options.orderIndependentTranslucency) && options.orderIndependentTranslucency === false) ?
undefined : new OIT(context);
this._oit = defaultValue(options.orderIndependentTranslucency, true) ? new OIT(context) : undefined;
this._executeOITFunction = undefined;

this._fxaa = new FXAA();
Expand Down

0 comments on commit b8bb6e0

Please sign in to comment.