"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "layer2/DistSet.cpp" between
pymol-open-source-2.2.0.tar.gz and pymol-open-source-2.3.0.tar.gz

About: PyMOL is a Python-enhanced molecular graphics tool. It excels at 3D visualization of proteins, small molecules, density, surfaces, and trajectories. It also includes molecular editing, ray tracing, and movies. Open Source version.

DistSet.cpp  (pymol-open-source-2.2.0):DistSet.cpp  (pymol-open-source-2.3.0)
skipping to change at line 147 skipping to change at line 147
rVal++; rVal++;
} }
} }
if (rVal) if (rVal)
I->invalidateRep(-1, cRepInvCoord); I->invalidateRep(-1, cRepInvCoord);
PRINTFD(G, FB_DistSet) PRINTFD(G, FB_DistSet)
" DistSet: done updating distance set's vertex\n" ENDFD; " DistSet: done updating distance set's vertex\n" ENDFD;
ok_except1:
return rVal; return rVal;
} }
static CMeasureInfo * MeasureInfoListFromPyList(PyMOLGlobals * G, PyObject * lis t) static CMeasureInfo * MeasureInfoListFromPyList(PyMOLGlobals * G, PyObject * lis t)
{ {
int i, ll, N; int i, ll, N;
CMeasureInfo *item = NULL, *I= NULL; CMeasureInfo *item = NULL, *I= NULL;
CPythonVal *val, *tmp; CPythonVal *val, *tmp;
ok_assert(1, list && PyList_Check(list)); ok_assert(1, list && PyList_Check(list));
skipping to change at line 428 skipping to change at line 427
} }
/* status bar 100% */ /* status bar 100% */
OrthoBusyFast(I->State.G, 1, 1); OrthoBusyFast(I->State.G, 1, 1);
} }
/*========================================================================*/ /*========================================================================*/
void DistSet::render(RenderInfo * info) void DistSet::render(RenderInfo * info)
{ {
DistSet * I = this; DistSet * I = this;
CRay *ray = info->ray; CRay *ray = info->ray;
Picking **pick = info->pick; auto pick = info->pick;
int a; int a;
::Rep *r; ::Rep *r;
for(a = 0; a < I->NRep; a++) for(a = 0; a < I->NRep; a++)
{ {
if(!GET_BIT(I->Obj->Obj.visRep, a)) if(!GET_BIT(I->Obj->Obj.visRep, a))
continue; continue;
if(!I->Rep[a]) { if(!I->Rep[a]) {
switch(a) { switch(a) {
case cRepDash: case cRepDash:
I->Rep[a] = RepDistDashNew(I, -1); I->Rep[a] = RepDistDashNew(I, -1);
 End of changes. 2 change blocks. 
2 lines changed or deleted 1 lines changed or added

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