FIX:layer height rander is only enable
in CanvasView3D jira: STUDIO-8195 Change-Id: I60197f8b16845aa228548fcb357c75c7a59cd22d
This commit is contained in:
parent
e4346ca2ab
commit
5678b98feb
|
@ -2783,7 +2783,9 @@ void Selection::render_sidebar_scale_hints(const std::string& sidebar_field, boo
|
||||||
void Selection::render_sidebar_layers_hints(const std::string& sidebar_field) const
|
void Selection::render_sidebar_layers_hints(const std::string& sidebar_field) const
|
||||||
{
|
{
|
||||||
static const double Margin = 10.0;
|
static const double Margin = 10.0;
|
||||||
|
if (wxGetApp().plater()->canvas3D()->get_canvas_type() != GLCanvas3D::ECanvasType::CanvasView3D) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
std::string field = sidebar_field;
|
std::string field = sidebar_field;
|
||||||
|
|
||||||
// extract max_z
|
// extract max_z
|
||||||
|
|
Loading…
Reference in New Issue