"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "saga-gis/src/saga_core/saga_api/tool.cpp" between
saga-7.6.2_src.zip and saga-7.6.3_src.zip

About: SAGA (System for Automated Geoscientific Analyses) is a Geographic Information System (GIS) software for geodata processing and analysis. All source codes.

tool.cpp  (saga-7.6.2_src):tool.cpp  (saga-7.6.3_src)
skipping to change at line 372 skipping to change at line 372
/////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////
// // // //
// Parameters // // Parameters //
// // // //
/////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////
//--------------------------------------------------------- //---------------------------------------------------------
int CSG_Tool::_On_Parameter_Changed(CSG_Parameter *pParameter, int Flags) int CSG_Tool::_On_Parameter_Changed(CSG_Parameter *pParameter, int Flags)
{ {
if( pParameter && pParameter->Get_Parameters() && pParameter->Get_Paramet CSG_Parameters *pParameters = pParameter ? pParameter ->Get_Parameters()
ers()->Get_Tool() ) : NULL;
CSG_Tool *pTool = pParameters ? pParameters->Get_Tool ()
: NULL;
if( pTool )
{ {
if( Flags & PARAMETER_CHECK_VALUES ) if( Flags & PARAMETER_CHECK_VALUES )
{ {
pParameter->Get_Parameters()->Get_Tool()->On_Parameter_Ch anged(pParameter->Get_Parameters(), pParameter); pTool->On_Parameter_Changed(pParameters, pParameter);
} }
if( Flags & PARAMETER_CHECK_ENABLE ) if( Flags & PARAMETER_CHECK_ENABLE )
{ {
pParameter->Get_Parameters()->Get_Tool()->On_Parameters_E nable(pParameter->Get_Parameters(), pParameter); pTool->On_Parameters_Enable(pParameters, pParameter);
} }
return( 1 ); return( 1 );
} }
return( 0 ); return( 0 );
} }
//--------------------------------------------------------- //---------------------------------------------------------
int CSG_Tool::On_Parameter_Changed(CSG_Parameters *pParameters, CSG_Parameter *p Parameter) int CSG_Tool::On_Parameter_Changed(CSG_Parameters *pParameters, CSG_Parameter *p Parameter)
 End of changes. 3 change blocks. 
4 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)