Browse Source

Allow user access of autoprop fields

Brian Fiete 3 years ago
parent
commit
4e5327e8b8
1 changed files with 1 additions and 3 deletions
  1. 1 3
      IDEHelper/Compiler/BfModule.cpp

+ 1 - 3
IDEHelper/Compiler/BfModule.cpp

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