ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/selection/NameFinder.cpp
(Generate patch)

Comparing trunk/OOPSE-4/src/selection/NameFinder.cpp (file contents):
Revision 1987 by tim, Mon Feb 7 22:36:32 2005 UTC vs.
Revision 2147 by tim, Tue Apr 5 23:09:48 2005 UTC

# Line 141 | Line 141 | BitSet NameFinder::match(const std::string& name){
141      switch(size) {
142          case 1 :
143              //could be molecule name, atom name and rigidbody name
144 <            if (names[0] == "*"){
145 <                //if all molecules are selected, we don't need to do the matching, just set all of the bits
146 <                bs.setAll();
147 <            } else{
148 <                matchMolecule(names[0], bs);
149 <                matchStuntDouble("*", names[0], bs);
150 <            }
144 >            matchMolecule(names[0], bs);
145 >            matchStuntDouble("*", names[0], bs);
146              
147              break;
148          case 2:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines