mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 21:49:55 +00:00
moved fog button from unpaged worldspace to worldspace
This commit is contained in:
parent
e04ead2bd5
commit
e177b66c1d
3 changed files with 1 additions and 12 deletions
|
@ -33,14 +33,6 @@ void CSVRender::UnpagedWorldspaceWidget::update()
|
||||||
flagAsModified();
|
flagAsModified();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSVRender::UnpagedWorldspaceWidget::addVisibilitySelectorButtons (
|
|
||||||
CSVWidget::SceneToolToggle2 *tool)
|
|
||||||
{
|
|
||||||
WorldspaceWidget::addVisibilitySelectorButtons (tool);
|
|
||||||
|
|
||||||
tool->addButton (Element_Fog, "Fog");
|
|
||||||
}
|
|
||||||
|
|
||||||
CSVRender::UnpagedWorldspaceWidget::UnpagedWorldspaceWidget (const std::string& cellId, CSMDoc::Document& document, QWidget* parent)
|
CSVRender::UnpagedWorldspaceWidget::UnpagedWorldspaceWidget (const std::string& cellId, CSMDoc::Document& document, QWidget* parent)
|
||||||
: WorldspaceWidget (document, parent), mCellId (cellId)
|
: WorldspaceWidget (document, parent), mCellId (cellId)
|
||||||
{
|
{
|
||||||
|
|
|
@ -32,10 +32,6 @@ namespace CSVRender
|
||||||
|
|
||||||
void update();
|
void update();
|
||||||
|
|
||||||
protected:
|
|
||||||
|
|
||||||
virtual void addVisibilitySelectorButtons (CSVWidget::SceneToolToggle2 *tool);
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
UnpagedWorldspaceWidget (const std::string& cellId, CSMDoc::Document& document,
|
UnpagedWorldspaceWidget (const std::string& cellId, CSMDoc::Document& document,
|
||||||
|
|
|
@ -266,6 +266,7 @@ void CSVRender::WorldspaceWidget::addVisibilitySelectorButtons (
|
||||||
tool->addButton (Element_Terrain, "Terrain");
|
tool->addButton (Element_Terrain, "Terrain");
|
||||||
tool->addButton (Element_Water, "Water");
|
tool->addButton (Element_Water, "Water");
|
||||||
tool->addButton (Element_Pathgrid, "Pathgrid");
|
tool->addButton (Element_Pathgrid, "Pathgrid");
|
||||||
|
tool->addButton (Element_Fog, "Fog");
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSVRender::WorldspaceWidget::addEditModeSelectorButtons (CSVWidget::SceneToolMode *tool)
|
void CSVRender::WorldspaceWidget::addEditModeSelectorButtons (CSVWidget::SceneToolMode *tool)
|
||||||
|
|
Loading…
Reference in a new issue