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:
parent
7ddec857f6
commit
4e5327e8b8
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue