Merge branch 'master' into varregion
commit
f7bd0da026
|
@ -7,7 +7,7 @@ people that make the day to day of OpenSim happen.
|
||||||
|
|
||||||
* justincc (OSVW Consulting, justincc.org)
|
* justincc (OSVW Consulting, justincc.org)
|
||||||
* chi11ken (Genkii)
|
* chi11ken (Genkii)
|
||||||
* dahlia
|
* dahlia
|
||||||
* Melanie Thielker
|
* Melanie Thielker
|
||||||
* Diva (Crista Lopes, University of California, Irvine)
|
* Diva (Crista Lopes, University of California, Irvine)
|
||||||
* Dan Lake (Intel)
|
* Dan Lake (Intel)
|
||||||
|
|
|
@ -6267,6 +6267,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
ps.BurstRate = 0.1f;
|
ps.BurstRate = 0.1f;
|
||||||
ps.PartMaxAge = 10.0f;
|
ps.PartMaxAge = 10.0f;
|
||||||
ps.BurstPartCount = 1;
|
ps.BurstPartCount = 1;
|
||||||
|
ps.BlendFuncSource = ScriptBaseClass.PSYS_PART_BF_SOURCE_ALPHA;
|
||||||
|
ps.BlendFuncDest = ScriptBaseClass.PSYS_PART_BF_ONE_MINUS_SOURCE_ALPHA;
|
||||||
|
ps.PartStartGlow = 0.0f;
|
||||||
|
ps.PartEndGlow = 0.0f;
|
||||||
|
|
||||||
return ps;
|
return ps;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6301,6 +6306,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
LSL_Vector tempv = new LSL_Vector();
|
LSL_Vector tempv = new LSL_Vector();
|
||||||
|
|
||||||
float tempf = 0;
|
float tempf = 0;
|
||||||
|
int tmpi = 0;
|
||||||
|
|
||||||
for (int i = 0; i < rules.Length; i += 2)
|
for (int i = 0; i < rules.Length; i += 2)
|
||||||
{
|
{
|
||||||
|
@ -6359,7 +6365,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case (int)ScriptBaseClass.PSYS_SRC_PATTERN:
|
case (int)ScriptBaseClass.PSYS_SRC_PATTERN:
|
||||||
int tmpi = (int)rules.GetLSLIntegerItem(i + 1);
|
tmpi = (int)rules.GetLSLIntegerItem(i + 1);
|
||||||
prules.Pattern = (Primitive.ParticleSystem.SourcePattern)tmpi;
|
prules.Pattern = (Primitive.ParticleSystem.SourcePattern)tmpi;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -6379,6 +6385,26 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
prules.PartFlags &= 0xFFFFFFFD; // Make sure new angle format is off.
|
prules.PartFlags &= 0xFFFFFFFD; // Make sure new angle format is off.
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case (int)ScriptBaseClass.PSYS_PART_BLEND_FUNC_SOURCE:
|
||||||
|
tmpi = (int)rules.GetLSLIntegerItem(i + 1);
|
||||||
|
prules.BlendFuncSource = (byte)tmpi;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case (int)ScriptBaseClass.PSYS_PART_BLEND_FUNC_DEST:
|
||||||
|
tmpi = (int)rules.GetLSLIntegerItem(i + 1);
|
||||||
|
prules.BlendFuncDest = (byte)tmpi;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case (int)ScriptBaseClass.PSYS_PART_START_GLOW:
|
||||||
|
tempf = (float)rules.GetLSLFloatItem(i + 1);
|
||||||
|
prules.PartStartGlow = (float)tempf;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case (int)ScriptBaseClass.PSYS_PART_END_GLOW:
|
||||||
|
tempf = (float)rules.GetLSLFloatItem(i + 1);
|
||||||
|
prules.PartEndGlow = (float)tempf;
|
||||||
|
break;
|
||||||
|
|
||||||
case (int)ScriptBaseClass.PSYS_SRC_TEXTURE:
|
case (int)ScriptBaseClass.PSYS_SRC_TEXTURE:
|
||||||
prules.Texture = ScriptUtils.GetAssetIdFromKeyOrItemName(m_host, rules.GetLSLStringItem(i + 1));
|
prules.Texture = ScriptUtils.GetAssetIdFromKeyOrItemName(m_host, rules.GetLSLStringItem(i + 1));
|
||||||
break;
|
break;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Loading…
Reference in New Issue