Add X-Ray view mode to 3D viewport (#15770)

This commit is contained in:
Ian Bassi
2026-09-21 14:23:32 -03:00
committed by GitHub
parent b6bb1b92c9
commit bfe458507b
10 changed files with 203 additions and 1 deletions
+3
View File
@@ -956,6 +956,9 @@ public:
void enable_wireframe(bool status);
bool is_wireframe_enabled() const;
void toggle_show_xray();
bool is_show_xray() const;
// Wrapper around wxWindow::PopupMenu to suppress error messages popping out while tracking the popup menu.
bool PopupMenu(wxMenu *menu, const wxPoint& pos = wxDefaultPosition);
bool PopupMenu(wxMenu *menu, int x, int y) { return this->PopupMenu(menu, wxPoint(x, y)); }