- 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:
JeffR 2025-08-06 01:34:59 -05:00
parent 07c67f2935
commit c894728644
4 changed files with 12 additions and 7 deletions

View file

@ -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 = "";