BUG: SimpleMaterial.IsColorBlended
by Scott Goodwin · in Torque X 2D · 03/01/2008 (11:23 am) · 0 replies
SimpleMaterial.IsColorBlended.set always sets to true. I think this is a (doh!) bug.
Here's the fix:
Here's the fix:
#region BUG(SDG)
// always sets to true
#if !SDG_APPLY_BUGFIXES
/// <summary>
/// Whether or not to blend the color with the texture. The color is read from
/// the vertex data.
/// </summary>
public bool IsColorBlended
{
get { return _isColorBlended; }
set { _isColorBlended = true; }
}
#endif
#endregion
#region BUGFIX(SDG)
#if SDG_APPLY_BUGFIXES
/// <summary>
/// Whether or not to blend the color with the texture. The color is read from
/// the vertex data.
/// </summary>
public bool IsColorBlended
{
get { return _isColorBlended; }
set { _isColorBlended = value; }
}
#endif
#endregionAbout the author