Refactor DataModel

This commit is contained in:
Vulpovile
2021-03-04 22:47:09 -08:00
parent fa3e8909c8
commit 299e22cf92
21 changed files with 35 additions and 35 deletions

View File

@@ -1,4 +1,4 @@
#include "PartInstance.h"
#include "DataModel/PartInstance.h"
#include "Globals.h"
#include <sstream>
#include <iomanip>
@@ -1005,7 +1005,7 @@ void PartInstance::PropUpdate(LPPROPGRIDITEM &item)
}
if(strcmp(item->lpszPropName, "Anchored") == 0)
{
anchored=(bool)item->lpCurValue;
anchored= item->lpCurValue == TRUE;
changed=true;
}
else if(strcmp(item->lpszPropName, "Offset") == 0)