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

Cesium3DTilesInspector attaches to first tileset on hover #5613

Merged
merged 7 commits into from
Jul 12, 2017
Merged

Cesium3DTilesInspector attaches to first tileset on hover #5613

merged 7 commits into from
Jul 12, 2017

Conversation

ggetz
Copy link
Contributor

@ggetz ggetz commented Jul 11, 2017

Fixes #5139

Cesium3DTilesInspector will attach to the first tileset that is hovered over if no tileset is defined. If tileset is set, the behavior is disabled.

@ggetz ggetz changed the title Inspector to tileset Cesium3DTilesInspector attaches to first tileset on hover Jul 11, 2017
CHANGES.md Outdated
* Fixed documentation for `OrthographicFrustum`. [#5586](https:/AnalyticalGraphicsInc/cesium/issues/5586)
* Added behavior to `Cesium3DTilesInspector` that selects the first tileset hovered over if no tilest is specified. [#5139](https:/AnalyticalGraphicsInc/cesium/issues/5139)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to go in a new 1.36 section.

CHANGES.md Outdated
@@ -6,7 +6,9 @@ Change Log
* This is an npm-only release to fix an issue with using Cesium in Node.js.
* Fixed a bug where Cesium would fail to load under Node.js and some webpack configurations. [#5593](https:/AnalyticalGraphicsInc/cesium/issues/5593)
* Fixed a bug where a Model's compressed textures were not being displayed. [#5596](https:/AnalyticalGraphicsInc/cesium/pull/5596)
* Fixed a bug where jsep was undefined when using webpack [#5593](https:/AnalyticalGraphicsInc/cesium/issues/5593)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be removed, since it's a dupe of item 2 above.

@ggetz
Copy link
Contributor Author

ggetz commented Jul 11, 2017

@mramato Updated.

Also do you know where this eslint error is coming from?

> [email protected] eslint /home/travis/build/AnalyticalGraphicsInc/cesium
> eslint "./**/*.js" "./**/*.html" --cache --quiet
Unexpected token ...
SyntaxError: Unexpected token ...
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/travis/build/AnalyticalGraphicsInc/cesium/node_modules/eslint-plugin-html/src/index.js:4:17)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)

I'm at a loss.

@mramato
Copy link
Contributor

mramato commented Jul 11, 2017

I'm at a loss.

Me too, I reran travis to see if it happens again or if it was some kind of fluke.

@mramato
Copy link
Contributor

mramato commented Jul 12, 2017

Me too, I reran travis to see if it happens again or if it was some kind of fluke.

Fixed in #5617, it's affecting all branches.

@lilleyse
Copy link
Contributor

lilleyse commented Jul 12, 2017

Hover-over highlighting doesn't seem to work with these changes.

@ggetz
Copy link
Contributor Author

ggetz commented Jul 12, 2017

Thanks @mramato !

@lilleyse I now restore the hover-over selection after the tileset is selected.

@lilleyse
Copy link
Contributor

lilleyse commented Jul 12, 2017

Looks good, can you remove the .idea files included here?

@ggetz
Copy link
Contributor Author

ggetz commented Jul 12, 2017

@lilleyse Removed

@lilleyse
Copy link
Contributor

Thanks @ggetz

@lilleyse lilleyse merged commit c216514 into CesiumGS:master Jul 12, 2017
@ggetz ggetz deleted the inspector-to-tileset branch July 19, 2017 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants