diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs b/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs index 3c546c4..4bbac6e 100644 --- a/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs +++ b/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs | |||
@@ -186,7 +186,7 @@ namespace OpenSim.Region.CoreModules.Media.Moap | |||
186 | CheckFaceParam(part, face); | 186 | CheckFaceParam(part, face); |
187 | 187 | ||
188 | if (null == part.Shape.Media) | 188 | if (null == part.Shape.Media) |
189 | part.Shape.Media = new List<MediaEntry>(part.GetNumberOfSides()); | 189 | part.Shape.Media = new List<MediaEntry>(new MediaEntry[part.GetNumberOfSides()]); |
190 | 190 | ||
191 | part.Shape.Media[face] = me; | 191 | part.Shape.Media[face] = me; |
192 | UpdateMediaUrl(part); | 192 | UpdateMediaUrl(part); |