Changeset 3849


Ignore:
Timestamp:
Aug 2, 2013, 6:31:15 AM (11 years ago)
Author:
gah
Message:

clean up variable naming

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/src/RpPdbToVtk.c

    r3848 r3849  
    3333    int number;                         /* Atomic number */
    3434    int ordinal;                        /* Index of the atom in VTK. */
     35    int numConnections;                 /*  */
    3536} PdbAtom;
    3637
     
    234235                }
    235236                Tcl_CreateHashEntry(conectTablePtr, (char *)&key, &isNew);
     237                if (isNew) {
     238                    atom1Ptr->numConnections++;
     239                    atom2Ptr->numConnections++;
     240                }
    236241            }
    237242        }
     
    651656                }
    652657                Tcl_CreateHashEntry(&conectTable, (char *)&key, &isNew);
     658                if (isNew) {
     659                    atom1Ptr->numConnections++;
     660                    atom2Ptr->numConnections++;
     661                }
    653662            }
    654663        }
Note: See TracChangeset for help on using the changeset viewer.