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

3D Tiles - Ternary Functions #4709

Closed
wants to merge 16 commits into from
Closed
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
7 changes: 0 additions & 7 deletions .idea/inspectionProfiles/profiles_settings.xml

This file was deleted.

19 changes: 3 additions & 16 deletions Apps/Sandcastle/CesiumSandcastle.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*global require,Blob,JSHINT*/
/*global gallery_demos*/// defined by gallery/gallery-index.js, created by build
/*global hello_world_index*/// defined in gallery/gallery-index.js, created by build
/*global sandcastleJsHintOptions*/// defined by jsHintOptions.js, created by build
require({
baseUrl : '../../Source',
Expand Down Expand Up @@ -139,7 +138,6 @@ require({
var subtabs = {};
var docError = false;
var galleryError = false;
var notFound = false;
var galleryTooltipTimer;
var activeGalleryTooltipDemo;
var demoTileHeightRule = findCssStyle('.demoTileThumbnail');
Expand Down Expand Up @@ -307,7 +305,7 @@ require({
var selectedTabName = registry.byId('innerPanel').selectedChildWidget.title;
var suffix = selectedTabName + 'Demos';
if (selectedTabName === 'All') {
suffix = 'all';
suffix = '';
} else if (selectedTabName === 'Search Results') {
suffix = 'searchDemo';
}
Expand Down Expand Up @@ -695,7 +693,6 @@ require({
}

function loadFromGallery(demo) {
notFound = false;
document.getElementById('saveAsFile').download = demo.name + '.html';
registry.byId('description').set('value', decodeHTML(demo.description).replace(/\\n/g, '\n'));
registry.byId('label').set('value', decodeHTML(demo.label).replace(/\\n/g, '\n'));
Expand Down Expand Up @@ -806,9 +803,6 @@ require({
if (galleryError) {
appendConsole('consoleError', 'Error loading gallery, please run the build script.', true);
}
if (notFound) {
appendConsole('consoleLog', 'Unable to load demo named ' + queryObject.src.replace('.html', '') + '\n', true);
}
}
} else if (Cesium.defined(e.data.log)) {
// Console log messages from the iframe display in Sandcastle.
Expand Down Expand Up @@ -1060,15 +1054,8 @@ require({
url : 'gallery/' + name + '.html',
handleAs : 'text',
error : function(error) {
if (error.status === 404) {
loadFromGallery(gallery_demos[hello_world_index])
.then(function() {
notFound = true;
});
} else {
galleryError = true;
appendConsole('consoleError', error, true);
}
appendConsole('consoleError', error, true);
galleryError = true;
}
});
}
Expand Down
242 changes: 0 additions & 242 deletions Apps/Sandcastle/gallery/3D Models Coloring.html

This file was deleted.

Binary file removed Apps/Sandcastle/gallery/3D Models Coloring.jpg
Binary file not shown.
2 changes: 1 addition & 1 deletion Apps/Sandcastle/gallery/3D Models.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@
}
</script>
</body>
</html>
</html>
Loading