renamed getElementMask to getVisibilityMask

loadfix
Marc Zinnschlag 10 years ago
parent 9e67a07ad4
commit b50fcd403b

@ -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 ( CSVWidget::SceneToolToggle *CSVRender::PagedWorldspaceWidget::makeControlVisibilitySelector (

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

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

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

Loading…
Cancel
Save