Commit db7907e8 authored by Kris Becker's avatar Kris Becker
Browse files

PROG: Set ShapeModel state in SetImage() to reflect no intersection before...

PROG: Set ShapeModel state in SetImage() to reflect no intersection before attempting to map to surface. References #2252.

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@6191 41f8697f-d340-4b68-9986-7bafba869bb8
parent 412b771e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -162,6 +162,7 @@ namespace Isis {
    // get shape
    // TODO: we need to validate this pointer (somewhere)
    ShapeModel *shape = target()->shape();
    shape->clearSurfacePoint();  // Set initial condition for ShapeModel 

    // Case of no map projection
    if (p_projection == NULL || p_ignoreProjection) {
+3 −0
Original line number Diff line number Diff line
@@ -246,6 +246,9 @@ namespace Isis {
   *                           DemShape uses this vector. References #2035.
   *   @history 2015-04-30 Jeannie Backer - Fixed bug in GetLocalNormal() introduced in prior
   *                           check-in. Fixes #2243.
   *   @history 2015-05-15 Kris Becker - Set ShapeModel state in SetImage() to
   *                           reflect no intersection before attempting to map
   *                           to surface. Fixes #2252.
   */

  class Camera : public Sensor {