Re: Actor signals





On 30/10/12 01:19, Patrick Shirkey wrote:
Thanks for your advice.

This is the pick method:

     def do_pick (self, pick_color):
         if self.should_pick_paint() == False:
             return

         box = self.get_allocation_box()
         self.__draw_shape(box.x2 - box.x1, box.y2 - box.y1, pick_color)



There's not much to it so I am not sure why it is doing something weird or
how to fix it.



Are you sure the __draw_shape() method doesn't alterate the picking color when drawing? (opacity? mask?)

-Lionel



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]