Diff of /trunk/ModularRex/RexParts/ModrexObjects.cs
Parent Directory
|
Revision Log
|
Patch
| revision 42, Wed Jan 28 14:51:20 2009 UTC | revision 43, Fri Jan 30 09:59:40 2009 UTC | |
|---|---|---|
| # | Line 113 | Line 113 |
| 113 | if (p != null) | if (p != null) |
| 114 | { | { |
| 115 | user.SendRexObjectProperties(e.UUID, p); | user.SendRexObjectProperties(e.UUID, p); |
| 116 | p.OnPythonClassChange += PythonClassNameChanged; | //p.OnPythonClassChange += PythonClassNameChanged; |
| 117 | if (p.RexClassName.Length > 0) | |
| 118 | { | |
| 119 | s.GetSceneObjectPart(e.UUID).SetScriptEvents(e.UUID, (int)scriptEvents.touch_start); | |
| 120 | } | |
| 121 | } | } |
| 122 | } | } |
| 123 | } | } |
| # | Line 133 | Line 137 |
| 137 | { | { |
| 138 | m_log.Info("[REXOBJS] Recieved RexObjData for " + id); | m_log.Info("[REXOBJS] Recieved RexObjData for " + id); |
| 139 | if (props.ParentObjectID == UUID.Zero) | if (props.ParentObjectID == UUID.Zero) |
| 140 | { | |
| 141 | props.ParentObjectID = id; | props.ParentObjectID = id; |
| 142 | } | |
| 143 | props.PrintRexPrimdata(); | props.PrintRexPrimdata(); |
| 144 | m_db.StoreObject(props); | m_db.StoreObject(props); |
| 145 | RexObjectProperties old = Load(props.ParentObjectID); | |
| 146 | if (old.RexClassName != props.RexClassName) | |
| 147 | { | |
| 148 | PythonClassNameChanged(props.ParentObjectID); | |
| 149 | } | |
| 150 | ||
| 151 | SendPropertiesToAllUsers(id, props); | SendPropertiesToAllUsers(id, props); |
| 152 | } | } |
| 153 |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

