Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
Measuring tool causes Maptool to lock and the processor sticks at 50% utilization.
No error in Java console since it locks too.
All I do is try to measure from one side of the screen to the other side of the screen while zoomed out as far as I can go. My goal was to measure in feet how many miles my map is so far
I can reproduce this with just a basic unbound quickmap.
You just have to be patient Dorpond. On the super wide maps the longer you measure the harder it works. By dragging very slowly and allowing MT to keep up I was able to measure across that fortress map from side to side.
Probably some optimization to be done there however.
I wasn't at maximum zoom out but enough to see from one side to the other on your map and did it in 20-30 seconds. About 500 cells and it really started slowing down on me and beyond that I would have to wait longer periods between updates.
Certainly not a great user experience on large maps but I expect it can be resolved.
It'll be interesting to profile that action to see what's taking up the cycles. The only thing I can think of is the a-star calculations creating the path. But that should be pretty quick.
trevor wrote:It'll be interesting to profile that action to see what's taking up the cycles. The only thing I can think of is the a-star calculations creating the path. But that should be pretty quick.
Dunno but the behavior is as if it is exponential in distance.
Oh my! You don't want to try this experiment on a hex grid!
I'm guessing the number of paths to check is going up very quickly.
Wasn't actually thinking of hexes in particular when I made that comment but you are correct in the hex map would have fewer potential paths and not more.
Whatever it is that is causing the problem is much, much worse on hex maps.
dorpond wrote:Measuring tool causes Maptool to lock and the processor sticks at 50% utilization.
I've put in some optimizations for the pathing code that will be in 1.2b6. It will improve rendering times for token movement and distance measurement.