FIX:ban reload scene in preview by left ui

jira: STUDIO-9228
Change-Id: I8a9a6eb8a7e81cc3cd912dcbc87b59fab4887245
(cherry picked from commit 0098b8a347e9d36b4ee45df126dffd87ce6b4bdc)
This commit is contained in:
zhou.xu
2024-12-17 14:15:03 +08:00
committed by Noisyfox
parent a6fd63ab29
commit ac5f49ad73
2 changed files with 4 additions and 1 deletions

View File

@@ -265,7 +265,7 @@ bool Preview::init(wxWindow* parent, Bed3D& bed, Model* model)
m_canvas->set_process(m_process);
m_canvas->set_type(GLCanvas3D::ECanvasType::CanvasPreview);
m_canvas->enable_legend_texture(true);
m_canvas->enable_dynamic_background(true);
//BBS: GUI refactor: GLToolbar
if (wxGetApp().is_editor()) {
m_canvas->enable_select_plate_toolbar(true);