mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 07:14:09 +02:00
Properply rebuilds hash after a hot compile
This commit is contained in:
parent
11a46fa422
commit
e7540ddef0
3 changed files with 23 additions and 8 deletions
|
@ -62,13 +62,17 @@ namespace IDE.Compiler
|
|||
ProjectSourceCommand command = new ProjectSourceCommand();
|
||||
command.mProjectSource = projectSource;
|
||||
command.mSourceString = new String();
|
||||
command.mSourceHash = sourceHash;
|
||||
|
||||
|
||||
var wantsHash;
|
||||
if (!(sourceHash case .None))
|
||||
wantsHash = false;
|
||||
IDEApp.sApp.FindProjectSourceContent(projectSource, out command.mSourceCharIdData, false, command.mSourceString, wantsHash ? &command.mSourceHash : null);
|
||||
|
||||
if (!(sourceHash case .None))
|
||||
{
|
||||
if (command.mSourceHash != sourceHash)
|
||||
projectSource.mWasBuiltWithOldHash = true;
|
||||
command.mSourceHash = sourceHash;
|
||||
}
|
||||
|
||||
if (gApp.mBfBuildCompiler == this)
|
||||
{
|
||||
if (gApp.mDbgVersionedCompileDir != null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue