ObjectCallback.cpp (pymol-v2.1.0.tar.bz2) | : | ObjectCallback.cpp (pymol-open-source-2.2.0) | ||
---|---|---|---|---|
skipping to change at line 96 | skipping to change at line 96 | |||
if(ray || pick) | if(ray || pick) | |||
return; | return; | |||
if(!(G->HaveGUI && G->ValidContext)) | if(!(G->HaveGUI && G->ValidContext)) | |||
return; | return; | |||
if(!I->State || I->NState == 0) | if(!I->State || I->NState == 0) | |||
return; | return; | |||
ObjectPrepareContext(&I->Obj, ray); | ObjectPrepareContext(&I->Obj, info); | |||
if((I->Obj.visRep & cRepCallbackBit)) { | if((I->Obj.visRep & cRepCallbackBit)) { | |||
int blocked = PAutoBlock(G); | int blocked = PAutoBlock(G); | |||
for(StateIterator iter(G, I->Obj.Setting, state, I->NState); iter.next();) { | for(StateIterator iter(G, I->Obj.Setting, state, I->NState); iter.next();) { | |||
sobj = I->State + iter.state; | sobj = I->State + iter.state; | |||
if(!sobj->is_callable) | if(!sobj->is_callable) | |||
continue; | continue; | |||
Py_DecRef(PyObject_CallObject(sobj->PObj, NULL)); | Py_DecRef(PyObject_CallObject(sobj->PObj, NULL)); | |||
if(PyErr_Occurred()) | if(PyErr_Occurred()) | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |