Fix and update engine assets

This commit is contained in:
Wojtek Figat
2023-07-04 11:05:32 +02:00
parent 615ec636d4
commit d31fc32399
4 changed files with 11 additions and 7 deletions

Binary file not shown.

BIN
Content/Editor/Gizmo/Material.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/TexturePreviewMaterial.flax (Stored with Git LFS)

Binary file not shown.

View File

@@ -41,7 +41,11 @@ namespace FlaxEditor.CustomEditors.Editors
} }
else else
{ {
element.CustomControl.Value = (Color)Values[0]; var value = Values[0];
if (value is Color asColor)
element.CustomControl.Value = asColor;
else if (value is Float4 asFloat4)
element.CustomControl.Value = asFloat4;
} }
} }
} }