mirror of
https://github.com/leozide/leocad
synced 2025-01-13 08:01:38 +01:00
Compile fix.
This commit is contained in:
parent
60a0f9190d
commit
8d09f90c54
6 changed files with 2 additions and 8 deletions
|
@ -14,6 +14,7 @@
|
|||
#include <array>
|
||||
#include <set>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
#ifndef Q_FALLTHROUGH
|
||||
#define Q_FALLTHROUGH();
|
||||
|
@ -71,6 +72,7 @@ class lcVector4;
|
|||
class lcMatrix33;
|
||||
class lcMatrix44;
|
||||
|
||||
class lcGLWidget;
|
||||
class lcContext;
|
||||
class lcMesh;
|
||||
struct lcMeshSection;
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
#define LC_SEL_CAN_ADD_CONTROL_POINT 0x0800 // Can add control points to focused piece
|
||||
#define LC_SEL_CAN_REMOVE_CONTROL_POINT 0x1000 // Can remove control points from focused piece
|
||||
|
||||
class lcGLWidget;
|
||||
|
||||
struct lcInstructionsPageLayout
|
||||
{
|
||||
lcModel* Model;
|
||||
|
|
|
@ -286,7 +286,6 @@ lcTool lcPreviewWidget::GetCurrentTool() const
|
|||
void lcPreviewWidget::StartTracking(lcTrackButton TrackButton)
|
||||
{
|
||||
mTrackButton = TrackButton;
|
||||
mTrackUpdated = false;
|
||||
mMouseDownX = mMouseX;
|
||||
mMouseDownY = mMouseY;
|
||||
lcTool Tool = GetCurrentTool(); // Either lcTrackTool::None (LC_TOOL_SELECT) or lcTrackTool::OrbitXY (LC_TOOL_ROTATE_VIEW)
|
||||
|
@ -541,7 +540,6 @@ void lcPreviewWidget::OnMouseMove()
|
|||
return;
|
||||
}
|
||||
|
||||
mTrackUpdated = true;
|
||||
const float MouseSensitivity = 0.5f / (21.0f - lcGetPreferences().mMouseSensitivity);
|
||||
|
||||
switch (mTrackTool)
|
||||
|
|
|
@ -94,6 +94,4 @@ protected:
|
|||
|
||||
QString mDescription;
|
||||
bool mIsModel;
|
||||
|
||||
bool mTrackUpdated;
|
||||
};
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
#include "lc_context.h"
|
||||
#include <bitset>
|
||||
|
||||
class lcGLWidget;
|
||||
class View;
|
||||
class lcPreviewWidget;
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <QGLWidget>
|
||||
class lcGLWidget;
|
||||
|
||||
class lcQGLWidget : public QGLWidget
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue