This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 9620 for ps


Ignore:
Timestamp:
06/14/11 03:03:35 (14 years ago)
Author:
ben
Message:

Fixes bug in Atlas camera control (clear button didn't erase the setting)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Player/Player.cpp

    r9617 r9620  
    715715
    716716        // camera
     717        AtObj camObj;
    717718        if (controls.page->IsCameraDefined())
    718719        {
    719720            sCameraInfo cam = controls.page->GetCamera();
    720             AtObj camObj;
    721721            camObj.setDouble("x", cam.pX);
    722722            camObj.setDouble("y", cam.pY);
    723723            camObj.setDouble("z", cam.pZ);
    724             player.set("StartingCamera", camObj);
    725         }
     724        }
     725        player.set("StartingCamera", camObj);
    726726
    727727        players.add("item", player);
Note: See TracChangeset for help on using the changeset viewer.