Fixed Edit button tooltip for Shape Asset field

Disabled Edit button on image asset field as there's no current image editor
Fixed positioning of edit buttons to align with preview
Fixed horizontal sizing for the edit control so it keeps to the width of the field
Fixed handling on the preview display so if an invalid asset is input, it clears the preview display to help indicate it's invalid
Disabled the MaterialSlot handling for TSStatics until it can be further refined
This commit is contained in:
Areloch 2022-12-08 23:45:56 -06:00
parent 6f8df41c6d
commit 74ac45e877
4 changed files with 56 additions and 11 deletions

View file

@ -1638,7 +1638,7 @@ void TSStatic::getUtilizedAssets(Vector<StringTableEntry>* usedAssetsList)
#ifdef TORQUE_TOOLS
void TSStatic::onInspect(GuiInspector* inspector)
{
if (mShapeAsset == nullptr)
//if (mShapeAsset == nullptr)
return;
//Put the GameObject group before everything that'd be gameobject-effecting, for orginazational purposes