* Proper fix for 1191 - Missing TypeData in ViewerEffectEventHandlerArg.
parent
2eecc9756a
commit
afd08c7477
|
@ -184,8 +184,7 @@ namespace OpenSim.Framework
|
||||||
effect.Duration = args[i].Duration;
|
effect.Duration = args[i].Duration;
|
||||||
effect.ID = args[i].ID;
|
effect.ID = args[i].ID;
|
||||||
effect.Type = args[i].Type;
|
effect.Type = args[i].Type;
|
||||||
// This should be the target object I think - Adam
|
effect.TypeData = args[i].TypeData;
|
||||||
effect.TypeData = new byte[0];
|
|
||||||
effectBlock.Add(effect);
|
effectBlock.Add(effect);
|
||||||
}
|
}
|
||||||
packet.Effect = effectBlock.ToArray();
|
packet.Effect = effectBlock.ToArray();
|
||||||
|
|
|
@ -245,6 +245,7 @@ namespace OpenSim.Framework
|
||||||
public float Duration;
|
public float Duration;
|
||||||
public LLUUID ID;
|
public LLUUID ID;
|
||||||
public byte Type;
|
public byte Type;
|
||||||
|
public byte[] TypeData;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class LandUpdateArgs : EventArgs
|
public class LandUpdateArgs : EventArgs
|
||||||
|
|
|
@ -2930,6 +2930,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
argument.Duration = viewer.Effect[i].Duration;
|
argument.Duration = viewer.Effect[i].Duration;
|
||||||
argument.ID = viewer.Effect[i].ID;
|
argument.ID = viewer.Effect[i].ID;
|
||||||
argument.Type = viewer.Effect[i].Type;
|
argument.Type = viewer.Effect[i].Type;
|
||||||
|
argument.TypeData = viewer.Effect[i].TypeData;
|
||||||
args.Add(argument);
|
args.Add(argument);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue