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

Integration Fixes for Web Based Controllers #12

Merged
2 commits merged into from
Aug 9, 2016
Merged

Conversation

jmkao
Copy link

@jmkao jmkao commented Aug 8, 2016

Two small fixes:

  • Null check so that updateBuildVolumeSettings() will work even when a mesh hasn't been loaded yet (fixing a null pointer exception when slicer.mesh is null).
  • Use window.location.href instead of concatenating hostname and pathname so that the default URL path will work for https and when the server is listening on something other than port 80.

The rest of the integration we are doing in a separate JS file that will call into the existing functions to pull calibration information and add functionality by modifying the DOM in code. You can see that in https://github.com/Kudo3D/SLAcer.js/blob/gh-pages/js/photonic3d.js

This can be a basis for #10.

@ghost ghost merged commit be2a5ff into skarab42:gh-pages Aug 9, 2016
@ghost
Copy link

ghost commented Aug 9, 2016

Thanks :)

This pull request was closed.
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.

2 participants