diff options
author | UbitUmarov | 2018-02-21 15:28:34 +0000 |
---|---|---|
committer | UbitUmarov | 2018-02-21 15:28:34 +0000 |
commit | 25d6d99c6e34e985629ddd678c3e1b60c1d91715 (patch) | |
tree | 6cff62a901621a2ab3c24adcf6833002ceeeeb3b /OpenSim | |
parent | COmment out relocation of tmp cs source file during compilation. This seems t... (diff) | |
download | opensim-SC-25d6d99c6e34e985629ddd678c3e1b60c1d91715.zip opensim-SC-25d6d99c6e34e985629ddd678c3e1b60c1d91715.tar.gz opensim-SC-25d6d99c6e34e985629ddd678c3e1b60c1d91715.tar.bz2 opensim-SC-25d6d99c6e34e985629ddd678c3e1b60c1d91715.tar.xz |
fix a old issue on some tortured prims number of sides, and so textures set
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 532263a..d501939 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -3930,25 +3930,25 @@ namespace OpenSim.Region.Framework.Scenes | |||
3930 | break; | 3930 | break; |
3931 | case PrimType.SPHERE: | 3931 | case PrimType.SPHERE: |
3932 | ret = 1; | 3932 | ret = 1; |
3933 | if (hasCut) ret += 2; | 3933 | if (hasCut || Shape.PathSkew != 0) ret += 2; |
3934 | if (hasDimple) ret += 2; | 3934 | if (hasDimple) ret += 2; |
3935 | if (hasHollow) ret += 1; | 3935 | if (hasHollow) ret += 1; |
3936 | break; | 3936 | break; |
3937 | case PrimType.TORUS: | 3937 | case PrimType.TORUS: |
3938 | ret = 1; | 3938 | ret = 1; |
3939 | if (hasCut) ret += 2; | 3939 | if (hasCut || Shape.PathSkew != 0) ret += 2; |
3940 | if (hasProfileCut) ret += 2; | 3940 | if (hasProfileCut) ret += 2; |
3941 | if (hasHollow) ret += 1; | 3941 | if (hasHollow) ret += 1; |
3942 | break; | 3942 | break; |
3943 | case PrimType.TUBE: | 3943 | case PrimType.TUBE: |
3944 | ret = 4; | 3944 | ret = 4; |
3945 | if (hasCut) ret += 2; | 3945 | if (hasCut || Shape.PathSkew != 0) ret += 2; |
3946 | if (hasProfileCut) ret += 2; | 3946 | if (hasProfileCut) ret += 2; |
3947 | if (hasHollow) ret += 1; | 3947 | if (hasHollow) ret += 1; |
3948 | break; | 3948 | break; |
3949 | case PrimType.RING: | 3949 | case PrimType.RING: |
3950 | ret = 3; | 3950 | ret = 3; |
3951 | if (hasCut) ret += 2; | 3951 | if (hasCut || Shape.PathSkew != 0) ret += 2; |
3952 | if (hasProfileCut) ret += 2; | 3952 | if (hasProfileCut) ret += 2; |
3953 | if (hasHollow) ret += 1; | 3953 | if (hasHollow) ret += 1; |
3954 | break; | 3954 | break; |