OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs
/// <summary>
/// Set the media flags on the texture face of the given part.
/// </summary>
/// <remarks>
/// The fact that we need a separate function to do what should be a simple one line operation is BUTT UGLY.
/// </remarks>
/// <param name="part"></param>
/// <param name="face"></param>
/// <param name="flag"></param>
Set the media flags on the texture face of the given part.
Set the media flags on the texture face of the given part .
protected void SetPartMediaFlags(SceneObjectPart part, int face, bool flag)
        {
            Primitive.TextureEntry te = part.Shape.Textures;
            Primitive.TextureEntryFace teFace = te.CreateFace((uint)face);
            teFace.MediaFlags = flag;
            part.Shape.Textures = te;            
        }
protected void SetPartMediaFlags ( SceneObjectPart part , int face , bool flag ) { Primitive . TextureEntry te = part . Shape . Textures ; Primitive . TextureEntryFace teFace = te . CreateFace ( ( uint ) face ) ; teFace . MediaFlags = flag ; part . Shape . Textures = te ; }
Set the media flags on the texture face of the given part.
Set the media flags on the texture face of the given part .
part
SceneObjectPart
None
face
int
None
flag
bool
None
remarks
The fact that we need a separate function to do what should be a simple one line operation is BUTT UGLY.
The fact that we need a separate function to do what should be a simple one line operation is BUTT UGLY .