← Back to team overview

touch-packages team mailing list archive

[Bug 1477243] Re: In function _grail_be_slice_state_update position_y is not updated.

 

This bug was fixed in the package geis - 2.2.17+15.10.20150728-0ubuntu1

---------------
geis (2.2.17+15.10.20150728-0ubuntu1) wily; urgency=medium

  [ Stephen M. Webb ]
  * Upstream release 2.2.17.
  * fix a pasto in the grail slice update code (LP: #1477243)

 -- CI Train Bot <ci-train-bot@xxxxxxxxxxxxx>  Tue, 28 Jul 2015 21:11:00
+0000

** Changed in: geis (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to geis in Ubuntu.
https://bugs.launchpad.net/bugs/1477243

Title:
  In function _grail_be_slice_state_update  position_y is not updated.

Status in Geis:
  In Progress
Status in Geis trusty series:
  Triaged
Status in Geis vivid series:
  Triaged
Status in geis package in Ubuntu:
  Fix Released
Status in geis source package in Trusty:
  Triaged
Status in geis source package in Vivid:
  Triaged

Bug description:
  static void
  _grail_be_slice_state_update(struct _GeisSliceState *slice_state, UGSlice slice)
  {
    
    if (slice_state->num_touches != grail_slice_get_num_touches(slice))
    {
      const UGTransform *C = grail_slice_get_cumulative_transform(slice);

      slice_state->angle = 0.0f;
      slice_state->position_x = grail_slice_get_original_center_x(slice) +
                                (*C)[0][2];
      slice_state->position_x = grail_slice_get_original_center_x(slice) +
                                (*C)[1][2];
      slice_state->radius = 1.0f;
      slice_state->num_touches = grail_slice_get_num_touches(slice);
    }
  }

     slice_state->position_x = grail_slice_get_original_center_x(slice) +
                               (*C)[1][2];

  I suspect this must be 
     slice_state->position_y = grail_slice_get_original_center_y(slice) +
                               (*C)[1][2];

To manage notifications about this bug go to:
https://bugs.launchpad.net/geis/+bug/1477243/+subscriptions