diff options
author | Diva Canto | 2015-11-30 19:49:45 -0800 |
---|---|---|
committer | Diva Canto | 2015-11-30 19:49:45 -0800 |
commit | b5a8a69c017c08b0e2fffd3bf00ab34eaf98e1f3 (patch) | |
tree | 1f3c27e178c7748c7e06949d0a8069f0cf4400e2 | |
parent | Replaced the mono addins dlls with freshly compiled ones, because the existin... (diff) | |
parent | fix a few typos (diff) | |
download | opensim-SC_OLD-b5a8a69c017c08b0e2fffd3bf00ab34eaf98e1f3.zip opensim-SC_OLD-b5a8a69c017c08b0e2fffd3bf00ab34eaf98e1f3.tar.gz opensim-SC_OLD-b5a8a69c017c08b0e2fffd3bf00ab34eaf98e1f3.tar.bz2 opensim-SC_OLD-b5a8a69c017c08b0e2fffd3bf00ab34eaf98e1f3.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
-rw-r--r-- | OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs | 19 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
2 files changed, 16 insertions, 7 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs index c14e89f..fb6cb63 100644 --- a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs +++ b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs | |||
@@ -41,12 +41,21 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction | |||
41 | { | 41 | { |
42 | public class AssetXferUploader | 42 | public class AssetXferUploader |
43 | { | 43 | { |
44 | // Viewer's notion of the default texture | 44 | |
45 | private List<UUID> defaultIDs = new List<UUID> { | 45 | private List<UUID> defaultIDs = new List<UUID> { |
46 | new UUID("5748decc-f629-461c-9a36-a35a221fe21f"), | 46 | // Viewer's notion of the default texture |
47 | new UUID("7ca39b4c-bd19-4699-aff7-f93fd03d3e7b"), | 47 | new UUID("5748decc-f629-461c-9a36-a35a221fe21f"), // others == default white |
48 | new UUID("6522e74d-1660-4e7f-b601-6f48c1659a77"), | 48 | new UUID("7ca39b4c-bd19-4699-aff7-f93fd03d3e7b"), // hair |
49 | new UUID("c228d1cf-4b5d-4ba8-84f4-899a0796aa97") | 49 | new UUID("6522e74d-1660-4e7f-b601-6f48c1659a77"), // eyes |
50 | new UUID("c228d1cf-4b5d-4ba8-84f4-899a0796aa97"), // skin | ||
51 | new UUID("8dcd4a48-2d37-4909-9f78-f7a9eb4ef903"), // transparency for alpha | ||
52 | // opensim assets skin textures possible obsolete now | ||
53 | new UUID("00000000-0000-1111-9999-000000000010"), | ||
54 | new UUID("00000000-0000-1111-9999-000000000011"), | ||
55 | new UUID("00000000-0000-1111-9999-000000000012"), | ||
56 | // other transparency defined in assets | ||
57 | new UUID("3a367d1c-bef1-6d43-7595-e88c1e3aadb3"), | ||
58 | new UUID("1578a2b1-5179-4b53-b618-fe00ca5a5594") | ||
50 | }; | 59 | }; |
51 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 60 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
52 | 61 | ||
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 38cbdbc..8d59c2d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -3575,13 +3575,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3575 | if (strength <= 0.0 || damping <= 0.0) | 3575 | if (strength <= 0.0 || damping <= 0.0) |
3576 | return; | 3576 | return; |
3577 | 3577 | ||
3578 | llSetRot(rot); | 3578 | llSetLocalRot(rot); |
3579 | } | 3579 | } |
3580 | else | 3580 | else |
3581 | { | 3581 | { |
3582 | if (strength == 0) | 3582 | if (strength == 0) |
3583 | { | 3583 | { |
3584 | llSetRot(rot); | 3584 | llSetLocalRot(rot); |
3585 | return; | 3585 | return; |
3586 | } | 3586 | } |
3587 | 3587 | ||