diff options
author | Charles Krinke | 2008-04-19 21:01:26 +0000 |
---|---|---|
committer | Charles Krinke | 2008-04-19 21:01:26 +0000 |
commit | 6865f1c67d8f4b6fa44ddd9f3040a29e9e180950 (patch) | |
tree | 5f8b65c2abac19e736c103b2773d5dc236e59d7d /OpenSim/Region/Environment/Scenes/InnerScene.cs | |
parent | * Fix build break in previous revision (diff) | |
download | opensim-SC_OLD-6865f1c67d8f4b6fa44ddd9f3040a29e9e180950.zip opensim-SC_OLD-6865f1c67d8f4b6fa44ddd9f3040a29e9e180950.tar.gz opensim-SC_OLD-6865f1c67d8f4b6fa44ddd9f3040a29e9e180950.tar.bz2 opensim-SC_OLD-6865f1c67d8f4b6fa44ddd9f3040a29e9e180950.tar.xz |
Thank you kindly krtaylor for a patch to solve:
Linked objects won't scale together properly, only the root object scales.
This happens with scaling both up and down or inputting numbers in the edit dialog.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/InnerScene.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs index ea4283f..8894db0 100644 --- a/OpenSim/Region/Environment/Scenes/InnerScene.cs +++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs | |||
@@ -890,6 +890,17 @@ namespace OpenSim.Region.Environment.Scenes | |||
890 | } | 890 | } |
891 | } | 891 | } |
892 | } | 892 | } |
893 | public void UpdatePrimGroupScale(uint localID, LLVector3 scale, IClientAPI remoteClient) | ||
894 | { | ||
895 | SceneObjectGroup group = GetGroupByPrim(localID); | ||
896 | if (group != null) | ||
897 | { | ||
898 | if (PermissionsMngr.CanEditObjectPosition(remoteClient.AgentId, group.UUID)) | ||
899 | { | ||
900 | group.GroupResize(scale, localID); | ||
901 | } | ||
902 | } | ||
903 | } | ||
893 | 904 | ||
894 | /// <summary> | 905 | /// <summary> |
895 | /// This handles the nifty little tool tip that you get when you drag your mouse over an object | 906 | /// This handles the nifty little tool tip that you get when you drag your mouse over an object |