Changed ROImage to use GetJustROImage so that the ROFST lookup is not loaded for each ROImage.

This commit is contained in:
Rich
2017-05-24 13:00:33 +00:00
parent 26ad9239f2
commit aa21c16ebb
6 changed files with 77 additions and 5 deletions

View File

@@ -56,7 +56,7 @@ namespace VEPROMS.CSLA.Library
get
{
CanReadProperty("MyROImage", true);
if (_MyROImage == null && _ImageID != 0) _MyROImage = ROImage.Get(_ImageID);
if (_MyROImage == null && _ImageID != 0) _MyROImage = ROImage.GetJustROImage(_ImageID);//Don't load figures or ROFST - Causing Memory Crash
return _MyROImage;
}
}