Game Development Community

object template list is empty

by Douglas W. Baker · in Game Mechanics Kit · 04/01/2010 (5:59 am) · 8 replies

Ok, I've finally gotten around to compiling T3D 1.1 Beta and GMK 1.2.8. I'm running into an issue where the Object Template List appears empty after the first time I use it. I can select a first item from the list and create objects multiple times, however when I try to select a second item the list is empty. If I cancel without selecting an object, then the list reappears filled afterwards and only empties after I select an object. Has this occurred for anyone else? I'm pretty sure I've set this up as I have for every other version and I have even started over from scratch. Can anyone direct me to a possible solution for this please?

*edit* - I also noticed that selecting an object from the Game Objects List will also prevent the list items from displaying. I can, however, see the items count from the console using templatesListTree.getItemCount() and objectsListTree.getItemCount().




Thanks in advance,
Doug

#1
04/01/2010 (9:08 pm)
I am having the exact same problem.
#2
04/05/2010 (7:56 am)
I found that commenting out %this.setActive(false); on line 99 of templatesList.cs in the LogickingEditorTemplatesList::selectTemplate() function solved my error. The setActive() line in the LogickingEditorObjectsList::selectButtonOnPush() function in the objectsList.ed.cs file needed to be commented out for the Game Objects List. The mActive flag was always false when GuiTreeViewCtrl::buildItem was executing after the first time selecting a template or object.
#3
04/05/2010 (9:19 am)
Thanks, Douglas. That did the trick.
#4
04/08/2010 (10:19 am)
Thanks, Douglas.
Have to recheck it in the GMK package.
#5
09/03/2010 (4:16 pm)
Fixed in GMK 1.2.9
#6
09/03/2010 (5:18 pm)
Which will be available when, Yuri?
#7
09/03/2010 (5:21 pm)
I've finished all not-physics related stuff already and currently working with physics. I'm afraid in telling dates, because I don't know how long it might take to make it work. Anyway will try for the next week release.