diff options
author | Justin Clark-Casey (justincc) | 2011-07-16 02:44:00 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-07-16 02:44:00 +0100 |
commit | 50bd48542c379f0ce0cec85eb412ded16c819434 (patch) | |
tree | 397807e2bd6b9533c0730fdf7706f1dc34cd25a1 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | minor: remove mono compiler warnings (diff) | |
download | opensim-SC-50bd48542c379f0ce0cec85eb412ded16c819434.zip opensim-SC-50bd48542c379f0ce0cec85eb412ded16c819434.tar.gz opensim-SC-50bd48542c379f0ce0cec85eb412ded16c819434.tar.bz2 opensim-SC-50bd48542c379f0ce0cec85eb412ded16c819434.tar.xz |
Add very basic test for resizing a scene object with one prim
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 9c307a3..34e44e5 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -617,9 +617,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
617 | finalScale.X = (minScale.X > maxScale.X) ? minScale.X : maxScale.X; | 617 | finalScale.X = (minScale.X > maxScale.X) ? minScale.X : maxScale.X; |
618 | finalScale.Y = (minScale.Y > maxScale.Y) ? minScale.Y : maxScale.Y; | 618 | finalScale.Y = (minScale.Y > maxScale.Y) ? minScale.Y : maxScale.Y; |
619 | finalScale.Z = (minScale.Z > maxScale.Z) ? minScale.Z : maxScale.Z; | 619 | finalScale.Z = (minScale.Z > maxScale.Z) ? minScale.Z : maxScale.Z; |
620 | return finalScale; | ||
621 | 620 | ||
621 | return finalScale; | ||
622 | } | 622 | } |
623 | |||
623 | public EntityIntersection TestIntersection(Ray hRay, bool frontFacesOnly, bool faceCenters) | 624 | public EntityIntersection TestIntersection(Ray hRay, bool frontFacesOnly, bool faceCenters) |
624 | { | 625 | { |
625 | // We got a request from the inner_scene to raytrace along the Ray hRay | 626 | // We got a request from the inner_scene to raytrace along the Ray hRay |