ID:89627
 
Resolved
The Frame Areas feature in the map editor had visual defects when used on non-square maps.
BYOND Version:462
Operating System:Windows Vista Home Premium
Web Browser:Firefox 3.0.17
Applies to:Dream Maker
Status: Resolved (463)

This issue has been resolved.
Descriptive Problem Summary:
Frame areas is a bit glitchy. Placing areas in the map editor causes the framed outlines of existing areas to flicker, disappear, or to redraw incorrectly (it's a visual glitch, not one that actually affects the placement). Scrolling the map view away from the affected area and then back redraws the frames and fixes the problem.

Numbered Steps to Reproduce Problem:
Turn on "Framed Areas" in the map editor, and simply place areas on the map. Visual glitches ensue.

I've only tested this in TILED_ICON_MAP format.

Expected Results:
Existing framed areas should not flicker, disappear or have drawing issues when new areas are placed in the vicinity.

Workarounds:
None.
I wasn't able to verify this in a test project. If you can come up with a small demo project that shows the problem maybe I can compare results and see if it's something about that particular map or something different between our systems.
It looks like it's only happening on larger, more complex maps. I'll see if I can work up a demo...
Ha... figured it out. It is only happening on maps when the Map Size X and Y aren't the same.

If you place an area or a turf on the map in this demo, you should see the glitch: http://www.byond.com/members/SilkGames/files/bugs/ frame_area_test.zip
Bug fix: The "frame areas" option produced visual glitches when editing a map whose width and height didn't match.