Skip to content

Commit

Permalink
Removed ability to open troubleshooter from debug window
Browse files Browse the repository at this point in the history
  • Loading branch information
weegeekps committed Mar 20, 2023
1 parent 663f02b commit 9f0fd27
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions exts/cesium.omniverse/cesium/omniverse/ui/debug_window.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import logging
from typing import Optional
import omni.ui as ui
from .troubleshooter_window import CesiumTroubleshooterWindow
from ..bindings import ICesiumOmniverseInterface


Expand Down Expand Up @@ -51,13 +50,9 @@ def print_fabric_stage():
fabric_stage = self._cesium_omniverse_interface.print_fabric_stage()
self._cesium_message_field.set_value(fabric_stage)

def open_troubleshooting_window():
CesiumTroubleshooterWindow(self._cesium_omniverse_interface, "Testing", 1, 0, "Testing")

with ui.VStack():
ui.Button("Remove all Tilesets", clicked_fn=lambda: remove_all_tilesets())
ui.Button("Reload all Tilesets", clicked_fn=lambda: reload_all_tilesets())
ui.Button("Open Troubleshooter", clicked_fn=lambda: open_troubleshooting_window())
ui.Button("Print Fabric stage", clicked_fn=lambda: print_fabric_stage())
with ui.VStack():
self._cesium_message_field = ui.SimpleStringModel("")
Expand Down

0 comments on commit 9f0fd27

Please sign in to comment.