{
Property prop = (Property) member;
- if(!prop.conversion && prop.Get && prop.Set)
+ if(!prop.conversion && prop.Get && prop.Set && (!prop.IsSet || prop.IsSet(data)))
{
if(memberType.type != structClass && (memberType.type != normalClass || !strcmp(memberType.dataTypeString, "char *")) && memberType.type != bitClass && data)
{
else
{
value.i = prop.Get(data);
- if(value.i)
+ if(value.i || prop.IsSet)
{
bool needClass = true;
char * result = (char *)memberType._vTbl[__ecereVMethodID_class_OnGetString](memberType,
}
get { return this ? mono : false; }
};
- property bool transparent { set { transparent = value; } get { return this ? transparent : false; } };
+ property bool transparent { set { transparent = value; } get { return this ? transparent : false; } isset { return (this && !transparent) ? true : false; } };
property bool alphaBlend { set { alphaBlend = value; } get { return this ? alphaBlend : false; } };
property bool keepData { set { keepData = value; } get { return this ? keepData : false; } };
property Bitmap bitmap { get { return this ? bitmap : null; } set { bitmap = value; if(bitmap) incref bitmap; } };