mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +00:00
- Fixes issue with resizing for the inspector panel of the updated MatEd where it would cut off
- Fixes refresh behavior where it'd refresh while you were doing a 'long action' like dragging a slider or range value - Fixes issue where the scroll position would reset when modifying some fields - Fixed issue where saving a composite texture could save it to the game root directory - Fixed issue where opening the mat ed for the first time with an object selected could have the inspector not inspect the object
This commit is contained in:
parent
07c67f2935
commit
c894728644
4 changed files with 12 additions and 7 deletions
|
|
@ -110,13 +110,12 @@ function CompositeEditorDoSaveComposite(%assetId)
|
|||
return;
|
||||
}
|
||||
|
||||
%targetFilePath = %assetDef.getImagePath();
|
||||
%targetFilePath = filePath(%assetDef.getFilename()) @ "/" @ fileName(%assetDef.imageFile);
|
||||
|
||||
%aoMapAsset = CompTextureEd_RedChan-->Bitmap.getBitmap();
|
||||
%roughMapAsset = CompTextureEd_GreenChan-->Bitmap.getBitmap();
|
||||
%metalMapAsset = CompTextureEd_BlueChan-->Bitmap.getBitmap();
|
||||
|
||||
|
||||
if(%aoMapAsset $= "ToolsModule:unknownImage_image")
|
||||
{
|
||||
%aoMap = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue