Diff of /trunk/ModularRex/RexParts/ModrexObjects.cs
Parent Directory
|
Revision Log
|
Patch
| revision 286, Thu Dec 3 16:03:57 2009 UTC | revision 291, Mon Dec 7 13:42:34 2009 UTC | |
|---|---|---|
| # | Line 308 | Line 308 |
| 308 | { | { |
| 309 | RexObjectProperties props = GetObject(id); | RexObjectProperties props = GetObject(id); |
| 310 | ||
| 311 | m_db.StoreObject(props); | //instead of saving right away, set timer to save after a sec. |
| 312 | //m_db.StoreObject(props); | |
| 313 | SendPropertiesToAllUsers(id,props); | SendPropertiesToAllUsers(id,props); |
| 314 | props.ScheduleSave(); | |
| 315 | } | } |
| 316 | ||
| 317 | public void TriggerOnChangeRexObjectMetaData(UUID id) | public void TriggerOnChangeRexObjectMetaData(UUID id) |
| # | Line 355 | Line 357 |
| 357 | else | else |
| 358 | return 0; | return 0; |
| 359 | } | } |
| 360 | ||
| 361 | ||
| 362 | public void TriggerOnSaveObject(UUID id) | |
| 363 | { | |
| 364 | RexObjectProperties props = GetObject(id); | |
| 365 | m_db.StoreObject(props); | |
| 366 | } | |
| 367 | #endregion | #endregion |
| 368 | ||
| 369 |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

