diff --git a/src/uti_phgrm/Apero/cCameraRPC.cpp b/src/uti_phgrm/Apero/cCameraRPC.cpp index 2fc005b133..37af632984 100644 --- a/src/uti_phgrm/Apero/cCameraRPC.cpp +++ b/src/uti_phgrm/Apero/cCameraRPC.cpp @@ -1980,10 +1980,19 @@ if(0) aGridCorSys = aToCorSys->Chang(aGridOrg); aGridCorSysTest = aToCorSys->Chang(aGridOrgTest); + //update the "Z" aGridImg/aGridImgTest in case of different height DATUM (dirty) + for(aK=0; aK &aGridGround, bool PRECISIONTEST) { + /* Learn direct RPC */ + /* Update offset/scale */ NewImOffScal(aGridImg); NewGrOffScal(aGridGround); + /* Learn direct RPC */ + /* Normalise */ vector aGridImgN = NormImAll(aGridImg,0); diff --git a/src/uti_phgrm/MICMAC/FusionCarteProf.cpp b/src/uti_phgrm/MICMAC/FusionCarteProf.cpp index 67ffdd6152..b172c7fabe 100644 --- a/src/uti_phgrm/MICMAC/FusionCarteProf.cpp +++ b/src/uti_phgrm/MICMAC/FusionCarteProf.cpp @@ -1259,7 +1259,7 @@ template void cFusionCarteProf::DoOneBloc(int aKB,const Box2d { for (aQ0.x = 0 ; aQ0.x < mSzCur.x; aQ0.x++) { - int aNb = aTImNb.get(aQ0); + int aNb = aTImNb.get(aQ0);//the no. of depths/Z for the current cell cTplCelNapPrgDyn * aTabP = aNap.Data()[aQ0.y][aQ0.x]; aTabP[-1].ArgAux()= aPDef; aTabP[-1].SetOwnCost(ToICost(aDefPds));