1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 06:53:53 +00:00

renamed getElementMask to getVisibilityMask

This commit is contained in:
Marc Zinnschlag 2014-11-09 11:29:45 +01:00
parent 9e67a07ad4
commit b50fcd403b
4 changed files with 6 additions and 6 deletions

View file

@ -430,9 +430,9 @@ CSVRender::WorldspaceWidget::dropRequirments CSVRender::PagedWorldspaceWidget::g
}
unsigned int CSVRender::PagedWorldspaceWidget::getElementMask() const
unsigned int CSVRender::PagedWorldspaceWidget::getVisibilityMask() const
{
return WorldspaceWidget::getElementMask() | mControlElements->getSelection();
return WorldspaceWidget::getVisibilityMask() | mControlElements->getSelection();
}
CSVWidget::SceneToolToggle *CSVRender::PagedWorldspaceWidget::makeControlVisibilitySelector (

View file

@ -75,7 +75,7 @@ namespace CSVRender
virtual CSVWidget::SceneToolToggle *makeControlVisibilitySelector (
CSVWidget::SceneToolbar *parent);
virtual unsigned int getElementMask() const;
virtual unsigned int getVisibilityMask() const;
protected:

View file

@ -216,7 +216,7 @@ bool CSVRender::WorldspaceWidget::handleDrop (const std::vector<CSMWorld::Univer
return false;
}
unsigned int CSVRender::WorldspaceWidget::getElementMask() const
unsigned int CSVRender::WorldspaceWidget::getVisibilityMask() const
{
return mSceneElements->getSelection();
}
@ -311,7 +311,7 @@ void CSVRender::WorldspaceWidget::debugProfileAboutToBeRemoved (const QModelInde
void CSVRender::WorldspaceWidget::elementSelectionChanged()
{
setVisibilityMask (getElementMask());
setVisibilityMask (getVisibilityMask());
flagAsModified();
updateOverlay();
}

View file

@ -80,7 +80,7 @@ namespace CSVRender
virtual bool handleDrop (const std::vector<CSMWorld::UniversalId>& data,
DropType type);
virtual unsigned int getElementMask() const;
virtual unsigned int getVisibilityMask() const;
protected: