Janitor : Set default values for integers exposed in Python API

This commit is contained in:
Magne Sjaastad
2021-10-28 11:17:42 +02:00
parent defccca4be
commit ccf2116d20
4 changed files with 4 additions and 4 deletions

View File

@@ -122,7 +122,7 @@ RimProject_summaryCase::RimProject_summaryCase( caf::PdmObjectHandle* self )
: caf::PdmObjectMethod( self )
{
CAF_PDM_InitObject( "Find Summary Case", "", "", "Find Summary Case" );
CAF_PDM_InitScriptableFieldNoDefault( &m_caseId, "CaseId", "", "", "", "" );
CAF_PDM_InitScriptableField( &m_caseId, "CaseId", -1, "", "", "", "" );
}
//--------------------------------------------------------------------------------------------------