Commit b6d222439a27c332b6e7c3bc3ce6b0d3ebef5852

Authored by tatiana
1 parent 2ebed007

ENC: In order to work in MacOS while I don't compile Cairo

Showing 1 changed file with 3 additions and 4 deletions   Show diff stats
invesalius/gui/widgets/clut_raycasting.py
... ... @@ -219,7 +219,6 @@ class CLUTRaycastingWidget(wx.Panel):
219 219 self.Render(dc)
220 220  
221 221 def OnSize(self, evt):
222   - print "Resizing"
223 222 self.CreatePixelArray()
224 223 self.Refresh()
225 224  
... ... @@ -282,7 +281,6 @@ class CLUTRaycastingWidget(wx.Panel):
282 281 = ctx.text_extents("Value %6d" % value)
283 282  
284 283 fheight = ctx.font_extents()[2]
285   - print "font", x_bearing, y_bearing
286 284  
287 285 ctx.set_source_rgba(*BACKGROUND_TEXT_COLOUR_RGBA)
288 286 ctx.rectangle(x + RADIUS + 1 + x_bearing, y - RADIUS * 2 - 2 +
... ... @@ -334,8 +332,9 @@ class CLUTRaycastingWidget(wx.Panel):
334 332 self._draw_curves(ctx)
335 333 self._draw_points(ctx)
336 334 self._draw_selection_curve(ctx, width)
337   - if self.point_dragged:
338   - self._draw_selected_point_text(ctx)
  335 + if sys.platform != "darwin":
  336 + if self.point_dragged:
  337 + self._draw_selected_point_text(ctx)
339 338  
340 339  
341 340 def _build_histogram(self):
... ...