Removed decals from effecting editor camera model.

This commit is contained in:
Chandler Cox
2024-09-06 17:45:04 -05:00
parent fc9aa5c184
commit 6eee25e04a

View File

@@ -303,6 +303,7 @@ void Camera::GetMatrices(Matrix& view, Matrix& projection, const Viewport& viewp
void Camera::OnPreviewModelLoaded() void Camera::OnPreviewModelLoaded()
{ {
_previewModelBuffer.Setup(_previewModel.Get()); _previewModelBuffer.Setup(_previewModel.Get());
_previewModelBuffer.At(0).ReceiveDecals = false;
UpdateCache(); UpdateCache();
} }