diff options
| author | Anton Novoselov <[email protected]> | 2017-08-01 12:53:38 +0300 |
|---|---|---|
| committer | Anton Novoselov <[email protected]> | 2017-08-01 12:53:38 +0300 |
| commit | 236f03c0b9a4982328ed1201978f7f69d192d9b2 (patch) | |
| tree | e486f2fa39dba203563895541e92c60ed3e25759 /tools/ArtistTools/source/BlastPlugin/Window/SourceAssetOpenDlg.h | |
| parent | Added screens to welcome page (diff) | |
| download | blast-236f03c0b9a4982328ed1201978f7f69d192d9b2.tar.xz blast-236f03c0b9a4982328ed1201978f7f69d192d9b2.zip | |
Blast 1.1 release (windows / linux)
see docs/release_notes.txt for details
Diffstat (limited to 'tools/ArtistTools/source/BlastPlugin/Window/SourceAssetOpenDlg.h')
| -rw-r--r-- | tools/ArtistTools/source/BlastPlugin/Window/SourceAssetOpenDlg.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/tools/ArtistTools/source/BlastPlugin/Window/SourceAssetOpenDlg.h b/tools/ArtistTools/source/BlastPlugin/Window/SourceAssetOpenDlg.h index ec03ee9..ed6da9c 100644 --- a/tools/ArtistTools/source/BlastPlugin/Window/SourceAssetOpenDlg.h +++ b/tools/ArtistTools/source/BlastPlugin/Window/SourceAssetOpenDlg.h @@ -13,15 +13,19 @@ class SourceAssetOpenDlg : public QDialog Q_OBJECT public: - explicit SourceAssetOpenDlg(bool bOpenBlastFile = true, QWidget *parent = 0); + explicit SourceAssetOpenDlg(int usefor, QWidget *parent = 0); ~SourceAssetOpenDlg(); + void setDefaultFile(const QString& fn); QString getFile(); bool getSkinned(); QVector3D getPosition(); QVector3D getRotationAxis(); double getRotationDegree(); bool isAppend(); + bool isPreFractured(); + bool isAutoCompute(); + int sceneUnitIndex(); private slots: void on_btnOpenFile_clicked(); @@ -30,9 +34,18 @@ private slots: void on_buttonBox_rejected(); + void on_checkBoxPreFractured_stateChanged(int arg1); + void on_checkBoxAutoCompute_stateChanged(int arg1); + private: Ui::SourceAssetOpenDlg *ui; - bool m_bOpenBlastFile; + /* + m_usefor: + 0 for open fbx file + 1 for open blast file + 2 for add BlastFamily + */ + int m_usefor; }; #endif // SOURCEASSETOPENDLG_H |