Login  Register

Re: Dimensions

Posted by dxli on Dec 04, 2024; 2:29pm
URL: https://forum.librecad.org/Dimensions-tp5725567p5725751.html

Hi sand1024,

We should do a profiling on text/mtext performance.

If we can achieve linear complexity, those optimization can be turned off.

I am also thinking about making draft mode a setting per session, meaning any switching to draft mode will not be remembered, after LibreCAD is restarted, draft mode will be off by default.

sand1024 wrote
actually, there is a small optimization for text/mtext drawing - during panning, a rect is drawn instead of text (even in non-draft mode).

Dimension contains text, so that logic affects text too.

However, it's really strange that after completing pan the text is not redrawn properly (btw, try hit F5 for force redraw?)

Also, instead of using 2.2.0.2, you can try to use fresher version, even dev snapshots are quite stable (like https://github.com/LibreCAD/LibreCAD/releases/tag/2.2.2_alpha-latest)