Bug in Project listing - RESOLVED
by Laralyn McWilliams · in Torque Game Builder · 05/09/2010 (9:18 am) · 4 replies
Click on Project to see the Object Tree. You see this most easily when there are a lot of objects in the scene.
Scroll up toward the top of the list, and select an object. The Object Tree instantly pops to the bottom of the list of objects instead of staying on the object you just selected (the way you expect a list to behave).
It's a minor bug but slows you down because when you have a ton of objects that overlap, the Object Tree is the easiest way to select them but you have to scroll up every time to find the object you want again, because the list pops to the bottom each time.
Scroll up toward the top of the list, and select an object. The Object Tree instantly pops to the bottom of the list of objects instead of staying on the object you just selected (the way you expect a list to behave).
It's a minor bug but slows you down because when you have a ton of objects that overlap, the Object Tree is the easiest way to select them but you have to scroll up every time to find the object you want again, because the list pops to the bottom each time.
#2
I never noticed that bug, but now I saw it, I must admit it's a really annoying behavior. Luckily, fixing it is very simple and you don't need source code access.
Inside the TGBinstallFolder/tgb/tools/levelEditor/scripts/forms/sideBar/sideBarTreeView.ed.cs file, find the LevelBuilderSceneTreeView::onContentMessage method. Almost at the end of the method (line 195 if you use an unmodified TGB 1.7.5 release) you can find the following line code
Delete that line code and the object tree will begin to properly work like a charm.
Happy object selecting to everyone. ^^
Note: remember to always create a backup before modifying TGB files, or you can find yourself forced to reinstall TGB because of an incorrect and forgotten modification. Personally, I find very useful to put always source codes under SVN or Hg, so I can experiment every change without fear. I suggest all to do the same.
05/11/2010 (6:10 pm)
Hi guys,I never noticed that bug, but now I saw it, I must admit it's a really annoying behavior. Luckily, fixing it is very simple and you don't need source code access.
Inside the TGBinstallFolder/tgb/tools/levelEditor/scripts/forms/sideBar/sideBarTreeView.ed.cs file, find the LevelBuilderSceneTreeView::onContentMessage method. Almost at the end of the method (line 195 if you use an unmodified TGB 1.7.5 release) you can find the following line code
%this.scroll.scrollToBottom();
Delete that line code and the object tree will begin to properly work like a charm.
Happy object selecting to everyone. ^^
Note: remember to always create a backup before modifying TGB files, or you can find yourself forced to reinstall TGB because of an incorrect and forgotten modification. Personally, I find very useful to put always source codes under SVN or Hg, so I can experiment every change without fear. I suggest all to do the same.
#3
05/12/2010 (9:23 pm)
Thanks! Taking that line out of the sideBarTreeView file did the trick!
#4
12/12/2011 (9:41 am)
Fixed in 1.7.6
Associate Scott Burns
GG Alumni
TGB-503