Changeset 7bfc19 for molecuilder/src/config.cpp
- Timestamp:
- Feb 24, 2010, 4:21:12 PM (16 years ago)
- Children:
- 5bf941
- Parents:
- 01d28a
- git-author:
- Tillmann Crueger <crueger@…> (02/24/10 15:29:12)
- git-committer:
- Tillmann Crueger <crueger@…> (02/24/10 16:21:12)
- File:
-
- 1 edited
-
molecuilder/src/config.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/config.cpp
r01d28a r7bfc19 8 8 #include <cstring> 9 9 10 #include "World.hpp" 10 11 #include "atom.hpp" 11 12 #include "bond.hpp" … … 732 733 sprintf(keyword,"%s_%i",name, j+1); 733 734 if (repetition == 0) { 734 neues = new atom();735 neues = World::get()->createAtom(); 735 736 AtomList[i][j] = neues; 736 737 LinearList[ FileBuffer->LineMapping[FileBuffer->CurrentLine] ] = neues; … … 811 812 sprintf(keyword,"%s_%i",name, j+1); 812 813 if (repetition == 0) { 813 neues = new atom();814 neues = World::get()->createAtom(); 814 815 AtomList[i][j] = neues; 815 816 LinearList[ FileBuffer->LineMapping[FileBuffer->CurrentLine] ] = neues; … … 1287 1288 } 1288 1289 istringstream input2(zeile); 1289 atom *neues = new atom();1290 atom *neues = World::get()->createAtom(); 1290 1291 input2 >> neues->x.x[0]; // x 1291 1292 input2 >> neues->x.x[1]; // y
Note:
See TracChangeset
for help on using the changeset viewer.
