[ros-kernel] Brush origins

Filip Navara xnavara at volny.cz
Fri Apr 30 15:34:38 CEST 2004


Hi,

I don't know who made this change:

#if 0
  if(BrushOrigin)
  {
    AdjustedBrushOrigin.x = BrushOrigin->x + Translate.x;
    AdjustedBrushOrigin.y = BrushOrigin->y + Translate.y;
  }
  else
    AdjustedBrushOrigin = Translate;
#else
  AdjustedBrushOrigin = (BrushOrigin ? *BrushOrigin : Translate);
#endif

but I know it's incorrect! Please revert it! The translation needs to be 
added also in case that there is a brush origin.

- Filip


More information about the Ros-kernel mailing list