mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Causing full refresh in IDE when deleting types
This commit is contained in:
parent
ed1cf60bb9
commit
730ae877fa
3 changed files with 11 additions and 7 deletions
|
@ -850,12 +850,13 @@ bool BfTypeDef::NameEquals(BfTypeDef* otherTypeDef)
|
|||
}
|
||||
|
||||
bool BfTypeDef::HasSource(BfSource* source)
|
||||
{
|
||||
{
|
||||
if (mNextRevision != NULL)
|
||||
return mNextRevision->HasSource(source);
|
||||
|
||||
return mNextRevision->HasSource(source);
|
||||
if (mSource == source)
|
||||
return true;
|
||||
if ((mSource != NULL) && (mSource->mNextRevision != NULL) && (mSource->mNextRevision == source))
|
||||
return true;
|
||||
for (auto partial : mPartials)
|
||||
if (partial->mSource == source)
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue