- Added a boa recount mode in hmcontrol. Soemtimes the CCD overruns
- Added a staticoffset to motorsec.c in order to allow the use of softzero for physics purposes. - When a triple axis motor fails to start, the whole shit needs to be stopped. This has now been implemented into tasdrive.c - There were crashes in adding NB reflections to a reflection list. This has been fixed.
This commit is contained in:
18
reflist.c
18
reflist.c
@@ -240,9 +240,11 @@ static void AddRowIntern(pSICSOBJ refl, double hkl[], double ang[],
|
||||
if(child != NULL){
|
||||
UpdateHipadabaPar(child, MakeHdbFloat(ang[3]),NULL);
|
||||
}
|
||||
child = child->next;
|
||||
if(child != NULL){
|
||||
UpdateHipadabaPar(child, MakeHdbFloat(ang[4]),NULL);
|
||||
child = child->next;
|
||||
if(child != NULL){
|
||||
UpdateHipadabaPar(child, MakeHdbFloat(ang[4]),NULL);
|
||||
}
|
||||
}
|
||||
runObjFunction(refl, pCon, node);
|
||||
}
|
||||
@@ -318,13 +320,15 @@ static int AddIndexesAnglesCmd(pSICSOBJ self, SConnection * pCon,
|
||||
} else if(node!= NULL) {
|
||||
UpdateHipadabaPar(node, v, pCon);
|
||||
}
|
||||
node = node->next;
|
||||
if(node != NULL && nPar > 7){
|
||||
if(node != NULL){
|
||||
node = node->next;
|
||||
if(node != NULL && nPar > 7){
|
||||
UpdateHipadabaPar(node, par[7]->value, pCon);
|
||||
} else if(node!= NULL) {
|
||||
} else if(node!= NULL) {
|
||||
UpdateHipadabaPar(node, v, pCon);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
return runObjFunction(self, pCon, addrowNode);
|
||||
}
|
||||
/*-----------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user