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