From @rextimmy was missing the stateblock handling for the Transparency mode Sub

Added Open Recent functionality to File menubar item
Added new editor setting for Startup Mode to dictate if it'll open the most recent level edited or the blank level, instead of utilizing a game UI control for level selection.
Properly re-enabled the handling for the forceSidebarToSide setting to track to the setting value
This commit is contained in:
Areloch 2019-11-19 01:25:24 -06:00
parent 28fd38266d
commit e8450b6f78
9 changed files with 314 additions and 227 deletions

View file

@ -134,6 +134,13 @@ void ProcessedMaterial::_setBlendState(Material::BlendOp blendOp, GFXStateBlockD
desc.blendDest = GFXBlendInvSrcAlpha;
break;
}
case Material::Sub:
{
desc.blendOp = GFXBlendOpSubtract;
desc.blendSrc = GFXBlendOne;
desc.blendDest = GFXBlendOne;
break;
}
default:
{