Fixed build when tech ENABLE_NON_STATIC_CANVAS_MANAGER is disabled
This commit is contained in:
parent
095062e371
commit
e886475fe7
2 changed files with 5 additions and 4 deletions
|
@ -1824,14 +1824,12 @@ void GLCanvas3D::set_color_by(const std::string& value)
|
|||
m_color_by = value;
|
||||
}
|
||||
|
||||
#if ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
void GLCanvas3D::refresh_camera_scene_box()
|
||||
{
|
||||
#if ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
wxGetApp().plater()->get_camera().set_scene_box(scene_bounding_box());
|
||||
#else
|
||||
m_camera.set_scene_box(scene_bounding_box());
|
||||
#endif // ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
}
|
||||
#endif // ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
|
||||
BoundingBoxf3 GLCanvas3D::volumes_bounding_box() const
|
||||
{
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
#include "GUI_ObjectLayers.hpp"
|
||||
#include "GLSelectionRectangle.hpp"
|
||||
#include "MeshUtils.hpp"
|
||||
#if !ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
#include "Camera.hpp"
|
||||
#endif // !ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
|
||||
#include <float.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue