Dark Mode #113
This commit is contained in:
parent
803cb5cb1c
commit
d3f693f2de
BIN
website/assets/models/DamagedHelmet.glb
Normal file
BIN
website/assets/models/DamagedHelmet.glb
Normal file
Binary file not shown.
15
website/assets/models/DamagedHelmet.license.txt
Normal file
15
website/assets/models/DamagedHelmet.license.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# Damaged Helmet
|
||||
|
||||
## Screenshot
|
||||
|
||||

|
||||
|
||||
## License Information
|
||||
|
||||
Battle Damaged Sci-fi Helmet - PBR by [theblueturtle_](https://sketchfab.com/theblueturtle_), published under a Creative Commons Attribution-NonCommercial license
|
||||
|
||||
https://sketchfab.com/models/b81008d513954189a063ff901f7abfe4
|
||||
|
||||
## Modifications
|
||||
|
||||
The original model was built on an early draft of glTF 2.0 that did not become final. This new model has been imported and re-exported from Blender to bring it into alignment with the final release glTF 2.0 specification.
|
||||
@ -185,6 +185,8 @@
|
||||
<a href="index.html#model=assets/models/logo.obj,assets/models/logo.mtl">logo</a>
|
||||
<span style="color:#aaaaaa;"> | </span>
|
||||
<a href="index.html#model=assets/models/solids.obj,assets/models/solids.mtl">solids</a>
|
||||
<span style="color:#aaaaaa;"> | </span>
|
||||
<a href="index.html#model=assets/models/DamagedHelmet.glb">helmet</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
OV.FeatureSet =
|
||||
{
|
||||
DarkMode : false
|
||||
|
||||
};
|
||||
|
||||
@ -38,9 +38,7 @@ OV.SettingsSidebarPanel = class extends OV.SidebarPanel
|
||||
settings.defaultColor,
|
||||
callbacks.onDefaultColorChange
|
||||
);
|
||||
if (OV.FeatureSet.DarkMode) {
|
||||
this.themeInput = this.AddThemeParameter (settings.themeId, callbacks.onThemeChange);
|
||||
}
|
||||
this.themeInput = this.AddThemeParameter (settings.themeId, callbacks.onThemeChange);
|
||||
this.AddResetToDefaultsButton (defaultSettings, callbacks);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user