UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2152 3D Geoscape does not zoom out
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Campaign
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2152 Item 2152] imported from sourceforge.net tracker on 2013-01-28 19:22:20

As it stands now (r25447), when the geoscape is in 3-D, the zoom-out button does not work. In fact, instead of just failing to zoom you out, it zooms you in further. The culprit lies with src/client/campaign/cp_map.c, line 2273. There should not be an fabs there, as there needs to be some way of getting negative zooms (zooming out apparently). Now when you remove f-abs, the zoom-out will happen rather quickly, but that is just a matter of taste.
===== Comments Ported from Sourceforge =====

====== yoshi121212 (2009-07-27 07:57:59) ======

Start looking at line 3926. It seems to think that it was zooming out. It was in fact zooming further in.
====== yoshi121212 (2009-07-28 17:07:28) ======

Lalala... I fixed it. It wasn't quite what I thought it was, but the file below fixes it.
====== yoshi121212 (2009-07-28 17:08:16) ======

cp_map.c, but with improved logic in MAP3D_SmoothRotate
====== yoshi121212 (2009-07-29 06:54:35) ======

r25469 doesn't have this problem anymore. Nevermind that zooming in and out no longer happen in nice small steps, but that is easily fixable (I hope... Someone changed something that almost broke the zooms and bypasses Map3DSmoothRotate).
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif