1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Allow user access of autoprop fields

This commit is contained in:
Brian Fiete 2022-04-25 14:40:32 -07:00
parent 7ddec857f6
commit 4e5327e8b8

View file

@ -2752,9 +2752,7 @@ void BfModule::GetAccessAllowed(BfTypeInstance* checkType, bool &allowProtected,
} }
bool BfModule::CheckProtection(BfProtectionCheckFlags& flags, BfTypeInstance* memberOwner, BfProject* memberProject, BfProtection memberProtection, BfTypeInstance* lookupStartType) bool BfModule::CheckProtection(BfProtectionCheckFlags& flags, BfTypeInstance* memberOwner, BfProject* memberProject, BfProtection memberProtection, BfTypeInstance* lookupStartType)
{ {
if (memberProtection == BfProtection_Hidden)
return false;
if (memberProtection == BfProtection_Public) if (memberProtection == BfProtection_Public)
return true; return true;