mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
more torquescript template fixes.
This commit is contained in:
parent
6f7fdca87d
commit
b2bbd771f6
54 changed files with 122 additions and 99 deletions
|
|
@ -1,4 +1,4 @@
|
|||
%paletteId = new GuiControl(ConvexEditorPalette, EditorGuiGroup) {
|
||||
$paletteId = new GuiControl(ConvexEditorPalette, EditorGuiGroup) {
|
||||
canSaveDynamicFields = "0";
|
||||
Enabled = "1";
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%paletteId = new GuiControl(DecalEditorPalette,EditorGuiGroup) {
|
||||
$paletteId = new GuiControl(DecalEditorPalette,EditorGuiGroup) {
|
||||
canSaveDynamicFields = "0";
|
||||
Enabled = "1";
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%paletteId = new GuiControl(ForestEditorPalette,EditorGuiGroup) {
|
||||
$paletteId = new GuiControl(ForestEditorPalette,EditorGuiGroup) {
|
||||
canSaveDynamicFields = "0";
|
||||
Enabled = "1";
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%paletteId = new GuiControl(MeshRoadEditorPalette,EditorGuiGroup) {
|
||||
$paletteId = new GuiControl(MeshRoadEditorPalette,EditorGuiGroup) {
|
||||
canSaveDynamicFields = "0";
|
||||
Enabled = "1";
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%paletteId = new GuiControl(NavEditorPalette,EditorGuiGroup) {
|
||||
$paletteId = new GuiControl(NavEditorPalette,EditorGuiGroup) {
|
||||
canSaveDynamicFields = "0";
|
||||
Enabled = "1";
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%paletteId = new GuiControl(RiverEditorPalette,EditorGuiGroup) {
|
||||
$paletteId = new GuiControl(RiverEditorPalette,EditorGuiGroup) {
|
||||
canSaveDynamicFields = "0";
|
||||
Enabled = "1";
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%paletteId = new GuiControl(RoadEditorPalette,EditorGuiGroup) {
|
||||
$paletteId = new GuiControl(RoadEditorPalette,EditorGuiGroup) {
|
||||
canSaveDynamicFields = "0";
|
||||
Enabled = "1";
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%paletteId = new GuiControl(ShapeEditorPalette,EditorGuiGroup) {
|
||||
$paletteId = new GuiControl(ShapeEditorPalette,EditorGuiGroup) {
|
||||
canSaveDynamicFields = "0";
|
||||
Enabled = "1";
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%paletteId = new GuiControl(TerrainEditorPalette,EditorGuiGroup) {
|
||||
$paletteId = new GuiControl(TerrainEditorPalette,EditorGuiGroup) {
|
||||
canSaveDynamicFields = "0";
|
||||
Enabled = "1";
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%paletteId = new GuiControl(TerrainPainterPalette,EditorGuiGroup) {
|
||||
$paletteId = new GuiControl(TerrainPainterPalette,EditorGuiGroup) {
|
||||
canSaveDynamicFields = "0";
|
||||
Enabled = "1";
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%paletteId = new GuiControl(WorldEditorInspectorPalette, EditorGuiGroup) {
|
||||
$paletteId = new GuiControl(WorldEditorInspectorPalette, EditorGuiGroup) {
|
||||
canSaveDynamicFields = "0";
|
||||
Enabled = "1";
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -30,6 +30,9 @@ function EWToolsPaletteWindow::loadToolsPalettes()
|
|||
exec( %file );
|
||||
%paletteGroup = 0;
|
||||
|
||||
// TODO
|
||||
%paletteId = 0;
|
||||
|
||||
%i = %paletteId.getCount();
|
||||
for( ; %i != 0; %i--)
|
||||
{
|
||||
|
|
@ -49,6 +52,9 @@ function EWToolsPaletteWindow::loadToolsPalettes()
|
|||
exec( %file );
|
||||
%paletteGroup = 0;
|
||||
|
||||
// TODO
|
||||
%paletteId = 0;
|
||||
|
||||
%i = %paletteId.getCount();
|
||||
for( ; %i != 0; %i--)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -288,6 +288,9 @@ function TerrainExportGui::selectFolder( %this )
|
|||
|
||||
function TerrainExportGui::doOpenDialog( %this, %filter, %callback )
|
||||
{
|
||||
// TODO
|
||||
%currentFile = "";
|
||||
|
||||
%dlg = new OpenFolderDialog()
|
||||
{
|
||||
Title = "Select Export Folder";
|
||||
|
|
|
|||
|
|
@ -508,6 +508,8 @@ function TerrainImportGui::acceptSettings( %this )
|
|||
|
||||
AssetBrowser.newAssetSettings.opacityList = %this-->OpacityLayerTextList;
|
||||
|
||||
%opacityList = %this-->OpacityLayerTextList;
|
||||
|
||||
for( %i = 0; %i < %opacityList.rowCount(); %i++ )
|
||||
{
|
||||
%itemText = %opacityList.getRowTextById( %i );
|
||||
|
|
@ -535,6 +537,9 @@ function TerrainImportGui::cancel( %this )
|
|||
|
||||
function TerrainImportGui::doOpenDialog( %this, %filter, %callback )
|
||||
{
|
||||
// TODO
|
||||
%currentFile = "";
|
||||
|
||||
%dlg = new OpenFileDialog()
|
||||
{
|
||||
Filters = %filter;
|
||||
|
|
|
|||
|
|
@ -399,7 +399,7 @@ function EditorGui::addToToolsToolbar( %this, %pluginName, %internalName, %bitma
|
|||
Visible = "1";
|
||||
Command = "EditorGui.setEditor(" @ %pluginName @ ");";
|
||||
tooltipprofile = "ToolsGuiToolTipProfile";
|
||||
ToolTip = %tooltip;
|
||||
ToolTip = "";// %tooltip;
|
||||
hovertime = "750";
|
||||
bitmap = %bitmap;
|
||||
buttonType = "RadioButton";
|
||||
|
|
|
|||
|
|
@ -137,8 +137,7 @@ function EManageSFXParameters::onVisible( %this, %value )
|
|||
if( %value )
|
||||
{
|
||||
// Schedule an update.
|
||||
|
||||
%this.schedule( %SFX_PARAMETERS_UPDATE_INTERVAL, "update" );
|
||||
%this.schedule( $SFX_PARAMETERS_UPDATE_INTERVAL, "update" );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -770,7 +769,7 @@ function EManageSFXParameters::addParameter( %this, %parameter )
|
|||
|
||||
// Set the fields to reflect the parameter's current settings.
|
||||
|
||||
%ctrl-->valueField.setValue( %paramter.value );
|
||||
%ctrl-->valueField.setValue( %parameter.value );
|
||||
%ctrl-->rangeMinField.setText( %parameter.range.x );
|
||||
%ctrl-->rangeMaxField.setText( %parameter.range.y );
|
||||
%ctrl-->defaultField.setValue( %parameter.defaultValue );
|
||||
|
|
|
|||
|
|
@ -871,6 +871,7 @@ function EditorToolsMenu::onSelectItem(%this, %id)
|
|||
{
|
||||
%toolName = getField( %this.item[%id], 2 );
|
||||
|
||||
%paletteName = "";
|
||||
EditorGui.setEditor(%toolName, %paletteName );
|
||||
|
||||
%this.checkRadioItem(0, %this.getItemCount(), %id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue