Author Topic: Rotate UIWidget does not update display  (Read 2601 times)

hesoul

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Rotate UIWidget does not update display
« on: January 06, 2014, 04:17:28 AM »
I have a issue,when I rotate widget around the axis(1,1,0) or (-1,-1,0),the widget does not update display.
I found the function [UIWidget.UpdateTransform] only determine whether the bottom-left and upper-right corner to move,
so if you rotate widget around the axis which through those two points,will not update display.
how to fix it? determine three or four point?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Rotate UIWidget does not update display
« Reply #1 on: January 06, 2014, 10:31:46 AM »
MarkAsChanged() on the widget forces its flag.