This commit is contained in:
kovacsv 2021-10-10 11:48:48 +02:00
parent 803cb5cb1c
commit d3f693f2de
5 changed files with 19 additions and 4 deletions

Binary file not shown.

View File

@ -0,0 +1,15 @@
# Damaged Helmet
## Screenshot
![screenshot](screenshot/screenshot.png)
## 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.

View File

@ -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>

View File

@ -1,4 +1,4 @@
OV.FeatureSet =
{
DarkMode : false
};

View File

@ -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);
}