"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "layer2/RepCylBond.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.

RepCylBond.cpp  (pymol-open-source-2.2.0):RepCylBond.cpp  (pymol-open-source-2.3.0)
skipping to change at line 181 skipping to change at line 181
convertcgo = NULL; convertcgo = NULL;
CGOSetUseShader(I->renderCGO, use_shader); CGOSetUseShader(I->renderCGO, use_shader);
} }
} }
return ok; return ok;
} }
static void RepCylBondRender(RepCylBond * I, RenderInfo * info) static void RepCylBondRender(RepCylBond * I, RenderInfo * info)
{ {
CRay *ray = info->ray; CRay *ray = info->ray;
Picking **pick = info->pick; auto pick = info->pick;
float alpha; float alpha;
PyMOLGlobals *G = I->R.G; PyMOLGlobals *G = I->R.G;
int width, height; int width, height;
int ok = true; int ok = true;
SceneGetWidthHeight(G, &width, &height); SceneGetWidthHeight(G, &width, &height);
alpha = 1.f - SettingGet_f(G, I->R.cs->Setting, I->R.obj->Setting, cSetting_st ick_transparency); alpha = 1.f - SettingGet_f(G, I->R.cs->Setting, I->R.obj->Setting, cSetting_st ick_transparency);
if(fabs(alpha - 1.f) < R_SMALL4) if(fabs(alpha - 1.f) < R_SMALL4)
alpha = 1.f; alpha = 1.f;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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