-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Multi-format support #1205
Multi-format support #1205
Conversation
✅ Deploy Preview for bldrs-share ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for bldrs-share-prod ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…der: add base URL support. AboutDialog: refactor
@@ -58,7 +58,11 @@ export default class IfcIsolator { | |||
*/ | |||
async setModel(ifcModel) { | |||
this.ifcModel = ifcModel | |||
this.visualElementsIds = [...new Set(ifcModel.geometry.attributes.expressID.array)] | |||
if (ifcModel.geometry && ifcModel.geometry.attributes) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review carefully
const item = await viewer.castRayToIfcScene() | ||
if (!item) { | ||
return | ||
function canvasDoubleClickHandler(event) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review carefully
@@ -12,7 +12,7 @@ export async function getFinalUrl(url, accessToken) { | |||
switch (u.host.toLowerCase()) { | |||
case 'github.com': | |||
if (!accessToken) { | |||
const proxyUrl = new URL(process.env.RAW_GIT_PROXY_URL_NEW) | |||
const proxyUrl = new URL(process.env.RAW_GIT_PROXY_URL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks wrong.. no accessToken should use the new /model base on proxy url i think
} | ||
} catch (error) { | ||
// expected if file not found - lets see if we have a temporary file | ||
} else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nick, this was the fallthru we fixed together. pls double-check i got the edit right
src/loader/Loader.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please review carefully
Demos:
Loader Changes
Misc