diff options
author | Melanie | 2012-08-31 00:34:22 +0100 |
---|---|---|
committer | Melanie | 2012-08-31 00:34:22 +0100 |
commit | fd92560649cc9dd34b7b9a8dfabccf7582661a64 (patch) | |
tree | 97cc0a6aef597f014bafe62022c2619570f134fa /OpenSim/Region/CoreModules/Framework | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Merge branch 'ubitwork' into avination (diff) | |
download | opensim-SC-fd92560649cc9dd34b7b9a8dfabccf7582661a64.zip opensim-SC-fd92560649cc9dd34b7b9a8dfabccf7582661a64.tar.gz opensim-SC-fd92560649cc9dd34b7b9a8dfabccf7582661a64.tar.bz2 opensim-SC-fd92560649cc9dd34b7b9a8dfabccf7582661a64.tar.xz |
Merge branch 'avination' into careminster
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index c248f95..538dd5f 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -1855,6 +1855,9 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1855 | if (grp.RootPart.PhysActor != null) | 1855 | if (grp.RootPart.PhysActor != null) |
1856 | grp.RootPart.PhysActor.CrossingFailure(); | 1856 | grp.RootPart.PhysActor.CrossingFailure(); |
1857 | 1857 | ||
1858 | if (grp.RootPart.KeyframeMotion != null) | ||
1859 | grp.RootPart.KeyframeMotion.CrossingFailure(); | ||
1860 | |||
1858 | grp.ScheduleGroupForFullUpdate(); | 1861 | grp.ScheduleGroupForFullUpdate(); |
1859 | } | 1862 | } |
1860 | 1863 | ||
@@ -1910,8 +1913,11 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1910 | grp, e); | 1913 | grp, e); |
1911 | } | 1914 | } |
1912 | } | 1915 | } |
1916 | /* | ||
1917 | * done on caller ( not in attachments crossing for now) | ||
1913 | else | 1918 | else |
1914 | { | 1919 | { |
1920 | |||
1915 | if (!grp.IsDeleted) | 1921 | if (!grp.IsDeleted) |
1916 | { | 1922 | { |
1917 | PhysicsActor pa = grp.RootPart.PhysActor; | 1923 | PhysicsActor pa = grp.RootPart.PhysActor; |
@@ -1920,15 +1926,17 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1920 | pa.CrossingFailure(); | 1926 | pa.CrossingFailure(); |
1921 | if (grp.RootPart.KeyframeMotion != null) | 1927 | if (grp.RootPart.KeyframeMotion != null) |
1922 | { | 1928 | { |
1923 | grp.RootPart.Velocity = Vector3.Zero; | 1929 | // moved to KeyframeMotion.CrossingFailure |
1930 | // grp.RootPart.Velocity = Vector3.Zero; | ||
1924 | grp.RootPart.KeyframeMotion.CrossingFailure(); | 1931 | grp.RootPart.KeyframeMotion.CrossingFailure(); |
1925 | grp.SendGroupRootTerseUpdate(); | 1932 | // grp.SendGroupRootTerseUpdate(); |
1926 | } | 1933 | } |
1927 | } | 1934 | } |
1928 | } | 1935 | } |
1929 | 1936 | ||
1930 | m_log.ErrorFormat("[ENTITY TRANSFER MODULE]: Prim crossing failed for {0}", grp); | 1937 | m_log.ErrorFormat("[ENTITY TRANSFER MODULE]: Prim crossing failed for {0}", grp); |
1931 | } | 1938 | } |
1939 | */ | ||
1932 | } | 1940 | } |
1933 | else | 1941 | else |
1934 | { | 1942 | { |