Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vector tile classification invert #6349

Merged
merged 2 commits into from
Mar 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Change Log
* Fixed improper zoom during model load failure. [#6305](https:/AnalyticalGraphicsInc/cesium/pull/6305)
* Fixed model loading failure when containing unused materials. [6315](https:/AnalyticalGraphicsInc/cesium/pull/6315)
* Fixed default value of `alphaCutoff` in glTF models. [#6346](https:/AnalyticalGraphicsInc/cesium/pull/6346)
* Fixed rendering vector tiles when using `invertClassification`. [#6349](https:/AnalyticalGraphicsInc/cesium/pull/6349)

### 1.43 - 2018-03-01

Expand Down
7 changes: 2 additions & 5 deletions Source/Scene/Vector3DTilePrimitive.js
Original file line number Diff line number Diff line change
Expand Up @@ -1042,9 +1042,8 @@ define([
var commandList = frameState.commandList;
var commandLength = commands.length;
var i;
var command;
for (i = 0; i < commandLength; ++i) {
command = commands[i];
var command = commands[i];
command.pass = pass;
commandList.push(command);
}
Expand All @@ -1055,9 +1054,7 @@ define([

commandLength = commandsIgnoreShow.length;
for (i = 0; i < commandLength; ++i) {
command = commandsIgnoreShow[i];
command.pass = pass;
commandList.push(command);
commandList.push(commandsIgnoreShow[i]);
}
}

Expand Down