Removed decals from effecting editor camera model.
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user