').html ('Sharing Link').addClass ('ov_dialog_inner_title').appendTo (section);
let optionsSection = null;
- if (OV.FeatureSet.SetDefaultColor) {
+ if (OV.FeatureSet.SettingsAvailable) {
optionsSection = $('
').addClass ('ov_dialog_section').appendTo (section);
}
let sharingLinkInput = AddCopyableTextInput (section, function () {
return GetSharingLink (sharingLinkParams);
});
- if (OV.FeatureSet.SetDefaultColor) {
+ if (OV.FeatureSet.SettingsAvailable) {
AddCheckboxLine (optionsSection, 'Use overridden default color', 'share_color', function (checked) {
sharingLinkParams.color = checked ? importSettings.defaultColor : null;
sharingLinkInput.val (GetSharingLink (sharingLinkParams));
@@ -91,7 +91,7 @@ OV.ShowSharingDialog = function (importer, importSettings, camera)
embeddingCodeParams.camera = checked ? camera : null;
embeddingCodeInput.val (GetEmbeddingCode (embeddingCodeParams));
});
- if (OV.FeatureSet.SetDefaultColor) {
+ if (OV.FeatureSet.SettingsAvailable) {
AddCheckboxLine (optionsSection, 'Use overridden default color', 'embed_color', function (checked) {
embeddingCodeParams.color = checked ? importSettings.defaultColor : null;
embeddingCodeInput.val (GetEmbeddingCode (embeddingCodeParams));
diff --git a/website/o3dv/website.js b/website/o3dv/website.js
index 8f6f126..0ee88cf 100644
--- a/website/o3dv/website.js
+++ b/website/o3dv/website.js
@@ -21,7 +21,6 @@ OV.Website = class
Load ()
{
-
let canvas = $('