MaeExportHelpers.cpp (pymol-open-source-2.2.0) | : | MaeExportHelpers.cpp (pymol-open-source-2.3.0) | ||
---|---|---|---|---|
skipping to change at line 180 | skipping to change at line 180 | |||
return label_user_text; | return label_user_text; | |||
} | } | |||
/* | /* | |||
* Get the MAE group title/id | * Get the MAE group title/id | |||
*/ | */ | |||
std::string MaeExportGetSubGroupId(PyMOLGlobals * G, | std::string MaeExportGetSubGroupId(PyMOLGlobals * G, | |||
const CObject * obj) | const CObject * obj) | |||
{ | { | |||
std::string subgroupid; | std::string subgroupid; | |||
const SpecRec * rec = NULL; | const SpecRec * rec = nullptr; | |||
// obj -> spec rec | // obj -> spec rec | |||
for (ObjectIterator iter(G); iter.next();) { | for (ObjectIterator iter(G); iter.next();) { | |||
if (iter.getObject() == obj) { | if (iter.getObject() == obj) { | |||
rec = iter.getSpecRec(); | rec = iter.getSpecRec(); | |||
break; | break; | |||
} | } | |||
} | } | |||
// "->".join(grouphierarchy) | // "->".join(grouphierarchy) | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |