T O P I C R E V I E W |
RudBus |
Posted - May 11 2022 : 11:01:02 I attached a IEV file which contains some hidden objects way out of range (like ObjLeft and ObjTop at -1999673).
The MouseMove ends up calling CalcDistPtObj for visible objects but it is very slow when checking those hidden objects. I had to delete those objects to make it work. You can try the IEV file attached with your Vectorial demo and see what I mean. I don't know how it's even possible to get those objects there in the first place. But let me know if you think of something that could help optimize this.
attach/RudBus/2022511104317_005336.zip 1.99 KB |
3 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - May 12 2022 : 13:42:01 Hi
I'm reluctant to change the code for a single file, in case it introduces unforeseen issues.
You could iterate through the objects after loading to ensure they are within your expected bounds.
Nigel Xequte Software www.imageen.com
|
RudBus |
Posted - May 12 2022 : 06:21:13 Hi, I have some other files but they all come from this one so once you get the hidden objects saved they will remain there the next time you save it. This could be an isolated case. |
xequte |
Posted - May 11 2022 : 21:32:32 Hi
Is this just one corrupted file, or are you able to reproduce this with other files?
Nigel Xequte Software www.imageen.com
|