Changed ROImage to use GetJustROImage so that the ROFST lookup is not loaded for each ROImage.
This commit is contained in:
@@ -167,7 +167,7 @@ namespace VEPROMS.CSLA.Library
|
||||
int pcount = 1;
|
||||
foreach (int id in imageIds)
|
||||
{
|
||||
using (ROImage ro = ROImage.Get(id))
|
||||
using (ROImage ro = ROImage.GetJustROImage(id))//Don't load figures or ROFST - Causing Memory Crash
|
||||
{
|
||||
string nm = ro.FileName;
|
||||
OnCompressAllExistingImages(null, new ROImageInfoCompressionEventArgs(pcount++, nm));
|
||||
|
Reference in New Issue
Block a user