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:
parent
9e67a07ad4
commit
b50fcd403b
4 changed files with 6 additions and 6 deletions
|
@ -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 (
|
||||
|
|
|
@ -75,7 +75,7 @@ namespace CSVRender
|
|||
virtual CSVWidget::SceneToolToggle *makeControlVisibilitySelector (
|
||||
CSVWidget::SceneToolbar *parent);
|
||||
|
||||
virtual unsigned int getElementMask() const;
|
||||
virtual unsigned int getVisibilityMask() const;
|
||||
|
||||
protected:
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue