Implemented into T3D 1.1 B3
by Stefan D · in Plastic Tweaker · 02/23/2011 (6:14 am) · 9 replies
Hi,
I've just implemented Plastic Tweaker into the current Beta of Torque 3D. Now I get some errors if I try to use it:
The menus in the menu bar are added again every time I open the dialog. Looks like
TweakMenuBar.clearMenus();
doesn't work correctly.
console.log:
tools/plastic/ui/tweak/tweakWindow.cs (471): TweakMenuBar::clearMenus - wrong number of arguments (got 2, expected min 4 and max 4).
tools/plastic/ui/tweak/tweakWindow.cs (471): usage: @brief Clears all the menus from the menu bar.
According to the documentation it should work:
Example:
// Inform the GuiMenuBar control to clear all menus from itself.
%thisGuiMenuBar.clearMenus();
Is this a Bug in 1.1 B3?
The next error I got is in line
$TweakServ.get($TweakServ::server, $TweakServ.script, %query);
tools/plastic/tweak/tweakConnect.cs (31): Unable to find object: '0' attempting to call function 'get'
All-in-all - the menu-items are doing nothing if I select them. No dialog if I click on "New".
A click on the "selected Page" combobox results in a crash.
Has someone a hint how to solve that?
Thanks
I've just implemented Plastic Tweaker into the current Beta of Torque 3D. Now I get some errors if I try to use it:
The menus in the menu bar are added again every time I open the dialog. Looks like
TweakMenuBar.clearMenus();
doesn't work correctly.
console.log:
tools/plastic/ui/tweak/tweakWindow.cs (471): TweakMenuBar::clearMenus - wrong number of arguments (got 2, expected min 4 and max 4).
tools/plastic/ui/tweak/tweakWindow.cs (471): usage: @brief Clears all the menus from the menu bar.
According to the documentation it should work:
Example:
// Inform the GuiMenuBar control to clear all menus from itself.
%thisGuiMenuBar.clearMenus();
Is this a Bug in 1.1 B3?
The next error I got is in line
$TweakServ.get($TweakServ::server, $TweakServ.script, %query);
tools/plastic/tweak/tweakConnect.cs (31): Unable to find object: '0' attempting to call function 'get'
All-in-all - the menu-items are doing nothing if I select them. No dialog if I click on "New".
A click on the "selected Page" combobox results in a crash.
Has someone a hint how to solve that?
Thanks
About the author
Recent Threads
#2
02/23/2011 (11:26 am)
I hope that it was updated as it is listed in the requirements and I bought it therefore...
#3
02/28/2011 (3:13 pm)
Anthony Rosenbaum and I are looking into this issue now. Thank you for your patience.
#4
It's been fixed in the repo and will be in 1.1 Final. Dave mentioned that the fix suggested in the thread was the best one.
02/28/2011 (4:41 pm)
There is an existing bug in 1.1 Beta 3 with the GuiMenuBar, which would be causing part of the problem.It's been fixed in the repo and will be in 1.1 Final. Dave mentioned that the fix suggested in the thread was the best one.
#5
@Scott
Thanks for that info, I will check that. Haven't found that issue with the search.
03/01/2011 (12:12 am)
Thank you Paul, I appreciate your investigation. No problem, take a look at it if you've time.@Scott
Thanks for that info, I will check that. Haven't found that issue with the search.
#6
03/01/2011 (1:07 am)
Works much better after applying the fix from the Bug-Report. Thanks again for the help.
#7
03/01/2011 (6:52 am)
Did that address all your problems? Please list what problems you still are seeing. Anthony and I are spending time this week trying to address everyone's problems and prepare for a new version of the Tweaker.
#8
T3D Beta3
I also have this additional error :-
--------Initializing: TWEAKER--------------------
44: Unable to instantiate non-conobject class GuiPlasticPickerCtrl.
--------TWEAKER - Initialized--------------------
the console output at crash time :-
tools/plastic/ui/tweak/tweakWindow.cs (471): TweakMenuBar::clearMenus - wrong number of arguments (got 2, expected min 4 and max 4).
tools/plastic/ui/tweak/tweakWindow.cs (471): usage: @brief Clears all the menus from the menu bar.
04/17/2011 (3:32 am)
Hi Paul, I also have this problem, although doing the above fix has made no difference.T3D Beta3
I also have this additional error :-
--------Initializing: TWEAKER--------------------
44: Unable to instantiate non-conobject class GuiPlasticPickerCtrl.
--------TWEAKER - Initialized--------------------
the console output at crash time :-
tools/plastic/ui/tweak/tweakWindow.cs (471): TweakMenuBar::clearMenus - wrong number of arguments (got 2, expected min 4 and max 4).
tools/plastic/ui/tweak/tweakWindow.cs (471): usage: @brief Clears all the menus from the menu bar.
#9
This means you probably did not add it into your VC++ project, you may have put it in the folder but you still have to add it into your project and recompile aswell.
08/24/2011 (8:04 pm)
Unable to instantiate non-conobject class
This means you probably did not add it into your VC++ project, you may have put it in the folder but you still have to add it into your project and recompile aswell.
Associate Michael Hall
Distracted...
Without knowing anything specifically about the PT I would suggest doublechecking any script declared directories or filenames, console function misnaming, classname discrepancies. Ie. compare the problem areas that PT is looking for with what is actually in Torque3D.