mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-22 20:09:43 +00:00
Fixes, cleanup.
This commit is contained in:
parent
1a08944a8b
commit
20ab7df19f
2 changed files with 4 additions and 4 deletions
|
@ -110,12 +110,12 @@ void CSVRender::TerrainSelection::toggleSelect(const std::vector<std::pair<int,
|
||||||
|
|
||||||
void CSVRender::TerrainSelection::activate()
|
void CSVRender::TerrainSelection::activate()
|
||||||
{
|
{
|
||||||
mParentNode->addChild(mSelectionNode);
|
if (!mParentNode->containsNode(mSelectionNode)) mParentNode->addChild(mSelectionNode);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSVRender::TerrainSelection::deactivate()
|
void CSVRender::TerrainSelection::deactivate()
|
||||||
{
|
{
|
||||||
mParentNode->removeChild(mSelectionNode);
|
if (mParentNode->containsNode(mSelectionNode)) mParentNode->removeChild(mSelectionNode);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSVRender::TerrainSelection::update()
|
void CSVRender::TerrainSelection::update()
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
#include <osg/Group>
|
||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QEvent>
|
#include <QEvent>
|
||||||
|
|
||||||
|
@ -28,8 +30,6 @@ namespace CSVWidget
|
||||||
|
|
||||||
namespace CSVRender
|
namespace CSVRender
|
||||||
{
|
{
|
||||||
class PagedWorldspaceWidget;
|
|
||||||
|
|
||||||
class TerrainTextureMode : public EditMode
|
class TerrainTextureMode : public EditMode
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
Loading…
Reference in a new issue