Primitive findPrim = simulator.ObjectsPrimitives.get(props.ObjectID);
if (findPrim != null)
{
onObjectPropertiesUpdated.raiseEvent(new ObjectPropertiesUpdatedEventArgs(simulator, findPrim, props));
synchronized (simulator.ObjectsPrimitives.getDictionary())
{
if (simulator.ObjectsPrimitives.getDictionary().containsKey(findPrim.LocalID))
simulator.ObjectsPrimitives.getDictionary().get(findPrim.LocalID).Properties = props;