Compile fix.

This commit is contained in:
Leonardo Zide 2020-12-05 11:19:11 -08:00
parent 60a0f9190d
commit 8d09f90c54
6 changed files with 2 additions and 8 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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)

View file

@ -94,6 +94,4 @@ protected:
QString mDescription;
bool mIsModel;
bool mTrackUpdated;
};

View file

@ -4,7 +4,6 @@
#include "lc_context.h"
#include <bitset>
class lcGLWidget;
class View;
class lcPreviewWidget;

View file

@ -1,7 +1,6 @@
#pragma once
#include <QGLWidget>
class lcGLWidget;
class lcQGLWidget : public QGLWidget
{