mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Merge pull request #673 from Areloch/useImagePreviews
Shifts utilization of gui elements in editors that point to 'normal' image assets to utilize generated previews instead.
This commit is contained in:
commit
b5bd242e23
9 changed files with 168 additions and 277 deletions
|
|
@ -512,7 +512,8 @@ function UVEditor::showDialog( %this, %applyCallback, %obj, %uv)
|
|||
else if( %material.cubemap.cubeFace[0] !$= "" )
|
||||
%previewImage = %material.cubemap.cubeFace[0];
|
||||
}
|
||||
UVEditor-->bitmapPreview.setBitmap(%previewImage);
|
||||
|
||||
UVEditor-->bitmapPreview.setBitmap(getAssetPreviewImage(%previewImage));
|
||||
|
||||
// Set up the color popup
|
||||
%popup = UVEditor-->colorPopup;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue