|
@@ -91,6 +91,7 @@ const DefaultViewerOptions = {
|
|
|
enableDpoit: PluginConfig.General.EnableDpoit.defaultValue,
|
|
|
preferWebgl1: PluginConfig.General.PreferWebGl1.defaultValue,
|
|
|
allowMajorPerformanceCaveat: PluginConfig.General.AllowMajorPerformanceCaveat.defaultValue,
|
|
|
+ powerPreference: PluginConfig.General.PowerPreference.defaultValue,
|
|
|
|
|
|
viewportShowExpand: PluginConfig.Viewport.ShowExpand.defaultValue,
|
|
|
viewportShowControls: PluginConfig.Viewport.ShowControls.defaultValue,
|
|
@@ -163,6 +164,7 @@ export class Viewer {
|
|
|
[PluginConfig.General.EnableDpoit, o.enableDpoit],
|
|
|
[PluginConfig.General.PreferWebGl1, o.preferWebgl1],
|
|
|
[PluginConfig.General.AllowMajorPerformanceCaveat, o.allowMajorPerformanceCaveat],
|
|
|
+ [PluginConfig.General.PowerPreference, o.powerPreference],
|
|
|
[PluginConfig.Viewport.ShowExpand, o.viewportShowExpand],
|
|
|
[PluginConfig.Viewport.ShowControls, o.viewportShowControls],
|
|
|
[PluginConfig.Viewport.ShowSettings, o.viewportShowSettings],
|