mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Resolves merging-order conflicts for the vehicle physics PR, as well as correcting cmake not blacklisting the componentGroup files if TORQUE_EXPERIMENTAL_EC was flipped off.
This commit is contained in:
commit
3a73344abb
36 changed files with 357 additions and 46 deletions
|
|
@ -2240,6 +2240,29 @@
|
|||
useMouseEvents = "0";
|
||||
useInactiveState = "0";
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
canSaveDynamicFields = "0";
|
||||
internalName = "subSurfaceCheckbox";
|
||||
Enabled = "1";
|
||||
isContainer = "0";
|
||||
Profile = "ToolsGuiCheckBoxProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "8 46";
|
||||
Extent = "79 16";
|
||||
MinExtent = "8 2";
|
||||
canSave = "1";
|
||||
Visible = "1";
|
||||
Command = "MaterialEditorGui.updateActiveMaterial(\"subSurface[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
|
||||
tooltipprofile = "ToolsGuiDefaultProfile";
|
||||
ToolTip = "Enables the use of subsurface scattering for this layer.";
|
||||
hovertime = "1000";
|
||||
text = "Sub Surface";
|
||||
groupNum = "-1";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
useInactiveState = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -918,9 +918,6 @@ function MaterialEditorGui::guiSync( %this, %material )
|
|||
MaterialEditorPropertiesWindow-->vertLitCheckbox.setValue((%material).vertLit[%layer]);
|
||||
MaterialEditorPropertiesWindow-->vertColorSwatch.color = (%material).vertColor[%layer];
|
||||
MaterialEditorPropertiesWindow-->subSurfaceCheckbox.setValue((%material).subSurface[%layer]);
|
||||
MaterialEditorPropertiesWindow-->subSurfaceColorSwatch.color = (%material).subSurfaceColor[%layer];
|
||||
MaterialEditorPropertiesWindow-->subSurfaceRolloffTextEdit.setText((%material).subSurfaceRolloff[%layer]);
|
||||
MaterialEditorPropertiesWindow-->minnaertTextEdit.setText((%material).minnaertConstant[%layer]);
|
||||
|
||||
// Animation properties
|
||||
MaterialEditorPropertiesWindow-->RotationAnimation.setValue(0);
|
||||
|
|
|
|||
|
|
@ -380,7 +380,8 @@ function ShapeEdSelectWindow::navigate( %this, %address )
|
|||
|
||||
// Ignore assets in the tools folder
|
||||
%fullPath = makeRelativePath( %fullPath, getMainDotCSDir() );
|
||||
%splitPath = strreplace( %fullPath, "/", " " );
|
||||
%splitPath = strreplace( %fullPath, " ", "_" );
|
||||
%splitPath = strreplace( %splitPath, "/", " " );
|
||||
if ( getWord( %splitPath, 0 ) $= "tools" )
|
||||
{
|
||||
%fullPath = findNextFileMultiExpr( %filePatterns );
|
||||
|
|
@ -393,6 +394,7 @@ function ShapeEdSelectWindow::navigate( %this, %address )
|
|||
// Add this file's path ( parent folders ) to the
|
||||
// popup menu if it isn't there yet.
|
||||
%temp = strreplace( %pathFolders, " ", "/" );
|
||||
%temp = strreplace( %temp, "_", " " );
|
||||
%r = ShapeEdSelectMenu.findText( %temp );
|
||||
if ( %r == -1 )
|
||||
ShapeEdSelectMenu.add( %temp );
|
||||
|
|
|
|||
|
|
@ -349,7 +349,8 @@ function EWCreatorWindow::navigate( %this, %address )
|
|||
}
|
||||
|
||||
%fullPath = makeRelativePath( %fullPath, getMainDotCSDir() );
|
||||
%splitPath = strreplace( %fullPath, "/", " " );
|
||||
%splitPath = strreplace( %fullPath, " ", "_" );
|
||||
%splitPath = strreplace( %splitPath, "/", " " );
|
||||
if( getWord(%splitPath, 0) $= "tools" )
|
||||
{
|
||||
%fullPath = findNextFileMultiExpr( getFormatExtensions() );
|
||||
|
|
@ -363,6 +364,7 @@ function EWCreatorWindow::navigate( %this, %address )
|
|||
// Add this file's path (parent folders) to the
|
||||
// popup menu if it isn't there yet.
|
||||
%temp = strreplace( %pathFolders, " ", "/" );
|
||||
%temp = strreplace( %temp, "_", " " );
|
||||
%r = CreatorPopupMenu.findText( %temp );
|
||||
if ( %r == -1 )
|
||||
{
|
||||
|
|
@ -461,7 +463,8 @@ function EWCreatorWindow::navigate( %this, %address )
|
|||
while ( %fullPath !$= "" )
|
||||
{
|
||||
%fullPath = makeRelativePath( %fullPath, getMainDotCSDir() );
|
||||
%splitPath = strreplace( %fullPath, "/", " " );
|
||||
%splitPath = strreplace( %fullPath, " ", "_" );
|
||||
%splitPath = strreplace( %splitPath, "/", " " );
|
||||
if( getWord(%splitPath, 0) $= "tools" )
|
||||
{
|
||||
%fullPath = findNextFile( %expr );
|
||||
|
|
@ -475,6 +478,7 @@ function EWCreatorWindow::navigate( %this, %address )
|
|||
// Add this file's path (parent folders) to the
|
||||
// popup menu if it isn't there yet.
|
||||
%temp = strreplace( %pathFolders, " ", "/" );
|
||||
%temp = strreplace( %temp, "_", " " );
|
||||
%r = CreatorPopupMenu.findText( %temp );
|
||||
if ( %r == -1 )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -262,6 +262,7 @@ function EditorGui::buildMenus(%this)
|
|||
barTitle = "Tools";
|
||||
|
||||
item[0] = "Network Graph" TAB "n" TAB "toggleNetGraph();";
|
||||
item[1] = "Profiler" TAB "ctrl F2" TAB "showMetrics(true);";
|
||||
};
|
||||
%this.menuBar.insert(%toolsMenu, %this.menuBar.getCount());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue