mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Added getShapeConstructorFilePath console function on shapeAsset
Fixed typo in import config settings for DuplicateAutoResolution Converted TSShapeConstructor to utilize assets Updated shape editor to work with assetified constructors Converted guiBitmapButtonCtrl to use assets
This commit is contained in:
parent
52c83d19e1
commit
88ae8a9665
181 changed files with 2343 additions and 1577 deletions
|
|
@ -70,7 +70,7 @@
|
|||
tooltipprofile = "ToolsGuiToolTipProfile";
|
||||
ToolTip = "Show grid";
|
||||
hovertime = "1000";
|
||||
bitmap = "tools/gui/images/menubar/show-grid";
|
||||
bitmapAsset = "ToolsModule:show_grid_n_image";
|
||||
text = "";
|
||||
groupNum = "-1";
|
||||
buttonType = "ToggleButton";
|
||||
|
|
@ -92,7 +92,7 @@
|
|||
tooltipprofile = "ToolsGuiToolTipProfile";
|
||||
ToolTip = "Fit Camera to Shape (F)";
|
||||
hovertime = "1000";
|
||||
bitmap = "tools/gui/images/menubar/fit-selection";
|
||||
bitmapAsset = "ToolsModule:fit_selection_n_image";
|
||||
text = "";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
|
|
@ -114,7 +114,7 @@
|
|||
tooltipprofile = "ToolsGuiToolTipProfile";
|
||||
ToolTip = "Orbit the selected node";
|
||||
hovertime = "1000";
|
||||
bitmap = "tools/gui/images/menubar/orbit-cam";
|
||||
bitmapAsset = "ToolsModule:orbit_cam_n_image";
|
||||
text = "";
|
||||
groupNum = "-1";
|
||||
buttonType = "ToggleButton";
|
||||
|
|
@ -143,7 +143,7 @@
|
|||
tooltipprofile = "ToolsGuiToolTipProfile";
|
||||
ToolTip = "Show Nodes (N)";
|
||||
hovertime = "1000";
|
||||
bitmap = "tools/shapeEditor/images/shownodes_btn";
|
||||
bitmapAsset = "ToolsModule:shownodes_btn_n_image";
|
||||
groupNum = "-1";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -164,7 +164,7 @@
|
|||
tooltipprofile = "ToolsGuiToolTipProfile";
|
||||
ToolTip = "Toggle shape transparency in the preview window (T)";
|
||||
hovertime = "1000";
|
||||
bitmap = "tools/shapeEditor/images/ghost_btn";
|
||||
bitmapAsset = "ToolsModule:ghost_btn_n_image";
|
||||
buttonType = "ToggleButton";
|
||||
groupNum = "0";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -185,7 +185,7 @@
|
|||
tooltipprofile = "ToolsGuiToolTipProfile";
|
||||
ToolTip = "Toggle shape wireframe in the preview window (R)";
|
||||
hovertime = "1000";
|
||||
bitmap = "tools/shapeEditor/images/show-wireframe";
|
||||
bitmapAsset = "ToolsModule:show_wireframe_n_image";
|
||||
buttonType = "ToggleButton";
|
||||
groupNum = "0";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -214,7 +214,7 @@
|
|||
tooltipprofile = "ToolsGuiToolTipProfile";
|
||||
ToolTip = "Toggle shape bounding box in the preview window";
|
||||
hovertime = "1000";
|
||||
bitmap = "tools/shapeEditor/images/object-bounds";
|
||||
bitmapAsset = "ToolsModule:object_bounds_n_image";
|
||||
groupNum = "-1";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -236,7 +236,7 @@
|
|||
tooltipprofile = "ToolsGuiToolTipProfile";
|
||||
ToolTip = "Toggle selected object bounding box in the preview window";
|
||||
hovertime = "1000";
|
||||
bitmap = "tools/shapeEditor/images/object-fit-bounds";
|
||||
bitmapAsset = "ToolsModule:object_fit_bounds_n_image";
|
||||
groupNum = "-1";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -258,7 +258,7 @@
|
|||
tooltipprofile = "ToolsGuiToolTipProfile";
|
||||
ToolTip = "Toggle rendering of collision meshes in the preview window";
|
||||
hovertime = "1000";
|
||||
bitmap = "tools/shapeEditor/images/collision-shape";
|
||||
bitmapAsset = "ToolsModule:collision_shape_n_image";
|
||||
groupNum = "-1";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -286,7 +286,7 @@
|
|||
tooltipprofile = "ToolsGuiToolTipProfile";
|
||||
ToolTip = "Toggle Advanced Properties Window";
|
||||
hovertime = "1000";
|
||||
bitmap = "tools/shapeEditor/images/detail-levels_btn";
|
||||
bitmapAsset = "ToolsModule:detail_levels_btn_n_image";
|
||||
buttonType = "ToggleButton";
|
||||
groupNum = "0";
|
||||
useMouseEvents = "0";
|
||||
|
|
|
|||
|
|
@ -846,7 +846,7 @@
|
|||
profile = "ToolsGuiTextProfile";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
bitmap = "tools/gui/images/delete";
|
||||
bitmapAsset = "ToolsModule:delete_n_image";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -865,7 +865,7 @@
|
|||
isContainer = "0";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
bitmap = "tools/gui/images/new";
|
||||
bitmapAsset = "ToolsModule:new_n_image";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -989,7 +989,7 @@
|
|||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
bitmap = "tools/shapeEditor/images/playfwd_btn";
|
||||
bitmapAsset = "ToolsModule:playfwd_btn_n_image";
|
||||
groupNum = "0";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -1171,7 +1171,7 @@
|
|||
};
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
bitmap = "tools/gui/images/delete";
|
||||
bitmapAsset = "ToolsModule:delete_n_image";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -1190,7 +1190,7 @@
|
|||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
bitmap = "tools/gui/images/new";
|
||||
bitmapAsset = "ToolsModule:new_n_image";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -1229,7 +1229,7 @@
|
|||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
bitmap = "tools/shapeEditor/images/playbkwd_btn";
|
||||
bitmapAsset = "ToolsModule:playbkwd_btn_n_image";
|
||||
groupNum = "0";
|
||||
buttonType = "RadioButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -1250,7 +1250,7 @@
|
|||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
bitmap = "tools/shapeEditor/images/pause_btn";
|
||||
bitmapAsset = "ToolsModule:pause_btn_n_image";
|
||||
groupNum = "0";
|
||||
buttonType = "RadioButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -1271,7 +1271,7 @@
|
|||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
bitmap = "tools/shapeEditor/images/playfwd_btn";
|
||||
bitmapAsset = "ToolsModule:playfwd_btn_n_image";
|
||||
groupNum = "0";
|
||||
buttonType = "RadioButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@
|
|||
groupNum = "0";
|
||||
buttonType = "PushButton";
|
||||
useMouseEvents = "0";
|
||||
bitmap = "tools/shapeEditor/images/back_btn";
|
||||
bitmapAsset = "ToolsModule:back_btn_n_image";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
canSaveDynamicFields = "0";
|
||||
|
|
@ -227,7 +227,7 @@
|
|||
groupNum = "0";
|
||||
buttonType = "PushButton";
|
||||
useMouseEvents = "0";
|
||||
bitmap = "tools/shapeEditor/images/stepback_btn";
|
||||
bitmapAsset = "ToolsModule:stepback_btn_n_image";
|
||||
internalName = "stepBkwdBtn";
|
||||
};
|
||||
new GuiControl() {
|
||||
|
|
@ -263,7 +263,7 @@
|
|||
groupNum = "0";
|
||||
buttonType = "RadioButton";
|
||||
useMouseEvents = "0";
|
||||
bitmap = "tools/shapeEditor/images/playbkwd_btn";
|
||||
bitmapAsset = "ToolsModule:playbkwd_btn_n_image";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
internalName = "pauseBtn";
|
||||
|
|
@ -284,7 +284,7 @@
|
|||
groupNum = "0";
|
||||
buttonType = "RadioButton";
|
||||
useMouseEvents = "0";
|
||||
bitmap = "tools/shapeEditor/images/pause_btn";
|
||||
bitmapAsset = "ToolsModule:pause_btn_n_image";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
internalName = "playFwdBtn";
|
||||
|
|
@ -305,7 +305,7 @@
|
|||
groupNum = "0";
|
||||
buttonType = "RadioButton";
|
||||
useMouseEvents = "0";
|
||||
bitmap = "tools/shapeEditor/images/playfwd_btn";
|
||||
bitmapAsset = "ToolsModule:playfwd_btn_n_image";
|
||||
};
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
|
|
@ -326,7 +326,7 @@
|
|||
groupNum = "0";
|
||||
buttonType = "PushButton";
|
||||
useMouseEvents = "0";
|
||||
bitmap = "tools/shapeEditor/images/stepfwd_btn";
|
||||
bitmapAsset = "ToolsModule:stepfwd_btn_n_image";
|
||||
internalName = "stepFwdBtn";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
|
|
@ -347,7 +347,7 @@
|
|||
groupNum = "0";
|
||||
buttonType = "PushButton";
|
||||
useMouseEvents = "0";
|
||||
bitmap = "tools/shapeEditor/images/fwd_btn";
|
||||
bitmapAsset = "ToolsModule:fwd_btn_n_image";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
canSaveDynamicFields = "0";
|
||||
|
|
@ -388,7 +388,7 @@
|
|||
groupNum = "0";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
bitmap = "tools/shapeEditor/images/pingpong_btn";
|
||||
bitmapAsset = "ToolsModule:pingpong_btn_n_image";
|
||||
};
|
||||
new GuiTextEditCtrl() {
|
||||
internalName = "timeScale";
|
||||
|
|
@ -417,7 +417,7 @@
|
|||
position = "39 0";
|
||||
Extent = "8 13";
|
||||
MinExtent = "1 1";
|
||||
bitmap = "tools/shapeEditor/images/seq_bar-in";
|
||||
bitmapAsset = "ToolsModule:seq_bar_in_n_image";
|
||||
ToolTip = "Set the In Point to the Current Frame";
|
||||
Command = "ShapeEdSequences.onEditSeqInOut(\"in\", ShapeEdSeqSlider.getValue());";
|
||||
};
|
||||
|
|
@ -429,7 +429,7 @@
|
|||
position = "765 0";
|
||||
Extent = "8 13";
|
||||
MinExtent = "1 1";
|
||||
bitmap = "tools/shapeEditor/images/seq_bar-out";
|
||||
bitmapAsset = "ToolsModule:seq_bar_out_n_image";
|
||||
ToolTip = "Set the Out Point to the Current Frame";
|
||||
Command = "ShapeEdSequences.onEditSeqInOut(\"out\", ShapeEdSeqSlider.getValue());";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -430,7 +430,7 @@
|
|||
groupNum = "0";
|
||||
buttonType = "PushButton";
|
||||
useMouseEvents = "0";
|
||||
bitmap = "tools/gui/images/new";
|
||||
bitmapAsset = "ToolsModule:new_n_image";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
internalName = "deleteTriggerBtn";
|
||||
|
|
@ -451,7 +451,7 @@
|
|||
groupNum = "0";
|
||||
buttonType = "PushButton";
|
||||
useMouseEvents = "0";
|
||||
bitmap = "tools/gui/images/delete";
|
||||
bitmapAsset = "ToolsModule:delete_n_image";
|
||||
};
|
||||
// Trigger list
|
||||
new GuiControl() {
|
||||
|
|
@ -617,7 +617,7 @@
|
|||
treeView = ShapeEdNodeTreeView;
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
bitmap = "tools/gui/images/clear-icon";
|
||||
bitmapAsset = "ToolsModule:clear_icon_n_image";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -1393,7 +1393,7 @@
|
|||
groupNum = "0";
|
||||
buttonType = "PushButton";
|
||||
useMouseEvents = "0";
|
||||
bitmap = "tools/gui/images/save-icon";
|
||||
bitmapAsset = "ToolsModule:save_icon_n_image";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
internalName = "newBtn";
|
||||
|
|
@ -1414,7 +1414,7 @@
|
|||
groupNum = "0";
|
||||
buttonType = "PushButton";
|
||||
useMouseEvents = "0";
|
||||
bitmap = "tools/gui/images/new";
|
||||
bitmapAsset = "ToolsModule:new_n_image";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
internalName = "deleteBtn";
|
||||
|
|
@ -1435,7 +1435,7 @@
|
|||
groupNum = "0";
|
||||
buttonType = "PushButton";
|
||||
useMouseEvents = "0";
|
||||
bitmap = "tools/gui/images/delete";
|
||||
bitmapAsset = "ToolsModule:delete_n_image";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@
|
|||
groupNum = "0";
|
||||
buttonType = "PushButton";
|
||||
useMouseEvents = "0";
|
||||
bitmap = "tools/gui/images/folderUp";
|
||||
bitmapAsset = "ToolsModule:folderUp_image";
|
||||
};
|
||||
new GuiPopUpMenuCtrl(ShapeEdSelectMenu) {
|
||||
canSaveDynamicFields = "0";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue