diff options
author | SignpostMarv | 2012-08-16 09:35:27 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-08-17 23:23:03 +0100 |
commit | 28d0aff2e395ae3ef85586cf65bd90395eb5c895 (patch) | |
tree | a6f87e82d537a56501a17eb43d58795784a69dfa /OpenSim/Region/ScriptEngine/Shared | |
parent | fixing bug that get/set the wrong property for prim types other than sphere &... (diff) | |
download | opensim-SC-28d0aff2e395ae3ef85586cf65bd90395eb5c895.zip opensim-SC-28d0aff2e395ae3ef85586cf65bd90395eb5c895.tar.gz opensim-SC-28d0aff2e395ae3ef85586cf65bd90395eb5c895.tar.bz2 opensim-SC-28d0aff2e395ae3ef85586cf65bd90395eb5c895.tar.xz |
adding null return to fix building
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 31d1660..6a2b829 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -7668,7 +7668,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7668 | break; | 7668 | break; |
7669 | case (int)ScriptBaseClass.PRIM_SLICE: | 7669 | case (int)ScriptBaseClass.PRIM_SLICE: |
7670 | if (remain < 1) | 7670 | if (remain < 1) |
7671 | return; | 7671 | return null; |
7672 | LSL_Vector slice = rules.GetVector3Item(idx++); | 7672 | LSL_Vector slice = rules.GetVector3Item(idx++); |
7673 | part.UpdateSlice((float)slice.x, (float)slice.y); | 7673 | part.UpdateSlice((float)slice.x, (float)slice.y); |
7674 | break; | 7674 | break; |