jk3064 / chiliui

a lua-based opengl GUI
GNU General Public License v2.0
15 stars 9 forks source link

Custom draw control warning going off inappropriately #12

Closed Histidine91 closed 11 years ago

Histidine91 commented 11 years ago

It seems to be triggering for every single Chili element in ZK,when I'm pretty sure none of them have custom draw controls. Is it detecting the inherited draw control?

Histidine91 commented 11 years ago

https://github.com/jk3064/chiliui/blob/master/chili/controls/object.lua#L200

Changing "DebugHandler.GetWidgetOrigin() ~= Chili" to "DebugHandler.GetWidgetOrigin() ~= widget" fixes the problem.

jk3064 commented 11 years ago

fixed