- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.cpp
rce4126 rc60665 69 69 } 70 70 World::getInstance().signOn(this, World::SelectionChanged); 71 WorldTime::getInstance().signOn(this, WorldTime::TimeChanged); 71 72 72 73 // set the object's id … … 88 89 } 89 90 World::getInstance().signOff(this, World::SelectionChanged); 91 WorldTime::getInstance().signOff(this, WorldTime::TimeChanged); 90 92 } 91 93 … … 228 230 break; 229 231 } 232 } else { 233 // notification from world 234 #ifdef LOG_OBSERVER 235 observerLog().addMessage() << "++ Update of Observer "<< observerLog().getName(static_cast<Observer *>(this)) 236 << " received notification from Worldtime for channel " 237 << notification->getChannelNo() << "."; 238 #endif 239 switch (notification->getChannelNo()) { 240 case WorldTime::TimeChanged: 241 resetPosition(); 242 emit changed(); 243 break; 244 default: 245 break; 246 } 230 247 } 231 248 }
Note:
See TracChangeset
for help on using the changeset viewer.