Skip to content

Commit

Permalink
Revert 259c314
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Sep 15, 2018
1 parent d5f1337 commit 5d35912
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions Source/Scene/Scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -1860,19 +1860,6 @@ define([
}
}

function executeTranslucentCommandsUnsorted(scene, executeFunction, passState, commands, invertClassification) {
var context = scene.context;

if (defined(invertClassification)) {
executeFunction(invertClassification.unclassifiedCommand, scene, context, passState);
}

var length = commands.length;
for (var i = 0; i < length; ++i) {
executeFunction(commands[i], scene, context, passState);
}
}

function getDebugGlobeDepth(scene, index) {
var globeDepths = scene._view.debugGlobeDepths;
var globeDepth = globeDepths[index];
Expand Down Expand Up @@ -1974,10 +1961,8 @@ define([
};
}
executeTranslucentCommands = scene._executeOITFunction;
} else if (passes.render) {
executeTranslucentCommands = executeTranslucentCommandsSorted;
} else {
executeTranslucentCommands = executeTranslucentCommandsUnsorted;
executeTranslucentCommands = executeTranslucentCommandsSorted;
}

var clearGlobeDepth = environmentState.clearGlobeDepth;
Expand Down

0 comments on commit 5d35912

Please sign in to comment.