Game Development Community

Enum Type inspectPostApply inconsistent

by Terence Tan · in Torque Game Engine · 06/10/2006 (7:03 pm) · 0 replies

Hi,

Is this a bug or not a bug? Or something I am doing wrong.

I created a custom class, and am using inspectPostApply to trigger updates but it seems to be inconsistently called. It only seems to happen with the TypeEnum field added via addField.

Have tested:

1) If you click on the object and off it(another object) it is called
2) If you click on any other field then the enum field and modify it it is called
3) If you click on the field first without messing with other fields it is not called
4) If you click on the other field, change a value and then click on the enum field it is called
5) No matter how many times I hit 'Apply' it isn't called (at least with the enum field changed)

Looks like the same thing is happening with inspectPreApply

According to the what I can find out, it's only supposed to be called when you hit the 'Apply' button anyways?