#3629 System : Use disableIO() instead of disableRead and disableWrite

This commit is contained in:
Magne Sjaastad
2018-11-05 14:27:34 +01:00
parent f30c87491c
commit 174998335f
16 changed files with 40 additions and 78 deletions

View File

@@ -81,8 +81,7 @@ RimViewController::RimViewController()
CAF_PDM_InitField(&m_syncVisibleCells, "SyncVisibleCells", false, "Visible Cells", "", "", "");
/// We do not support this. Consider to remove sometime
m_syncVisibleCells.uiCapability()->setUiHidden(true);
m_syncVisibleCells.xmlCapability()->setIOWritable(false);
m_syncVisibleCells.xmlCapability()->setIOReadable(false);
m_syncVisibleCells.xmlCapability()->disableIO();
CAF_PDM_InitField(&m_syncRangeFilters, "SyncRangeFilters", false, "Range Filters", "", "", "");
CAF_PDM_InitField(&m_syncPropertyFilters, "SyncPropertyFilters", false,"Property Filters", "", "", "");