Fix ios compile errors.
This commit is contained in:
@@ -426,6 +426,7 @@ void lcPreferencesDialog::PartsArchiveBrowseClicked()
|
||||
|
||||
void lcPreferencesDialog::BlenderAddonSettingsButtonClicked()
|
||||
{
|
||||
#ifndef LC_DISABLE_BLENDER
|
||||
int Width = 1280;
|
||||
int Height = 720;
|
||||
double Scale = 1.0f;
|
||||
@@ -435,10 +436,7 @@ void lcPreferencesDialog::BlenderAddonSettingsButtonClicked()
|
||||
Height,
|
||||
Scale,
|
||||
this);
|
||||
|
||||
Q_UNUSED(Width)
|
||||
Q_UNUSED(Height)
|
||||
Q_UNUSED(Scale)
|
||||
#endif // !LC_BLENDER_DISABLED
|
||||
}
|
||||
|
||||
void lcPreferencesDialog::ColorConfigBrowseButtonClicked()
|
||||
|
||||
+25
-14
@@ -1,5 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
enum class lcPOVRayRenderQuality
|
||||
{
|
||||
Low,
|
||||
Medium,
|
||||
High
|
||||
};
|
||||
|
||||
enum class lcRenderDialogMode
|
||||
{
|
||||
RenderPOVRay,
|
||||
RenderBlender,
|
||||
OpenInBlender
|
||||
};
|
||||
|
||||
#ifndef LC_DISABLE_RENDER_DIALOG
|
||||
|
||||
namespace Ui {
|
||||
@@ -43,20 +57,6 @@ protected:
|
||||
QImage mScaledImage;
|
||||
};
|
||||
|
||||
enum class lcRenderDialogMode
|
||||
{
|
||||
RenderPOVRay,
|
||||
RenderBlender,
|
||||
OpenInBlender
|
||||
};
|
||||
|
||||
enum class lcPOVRayRenderQuality
|
||||
{
|
||||
Low,
|
||||
Medium,
|
||||
High
|
||||
};
|
||||
|
||||
class lcRenderDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -116,4 +116,15 @@ protected:
|
||||
Ui::lcRenderDialog* ui;
|
||||
};
|
||||
|
||||
#else
|
||||
|
||||
class lcRenderPreviewWidget : public QWidget
|
||||
{
|
||||
public:
|
||||
explicit lcRenderPreviewWidget(QWidget* Parent)
|
||||
: QWidget(Parent)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
#endif // LC_DISABLE_RENDER_DIALOG
|
||||
|
||||
Reference in New Issue
Block a user