Skip to content

Commit

Permalink
Hotfix/4.7.4 (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunseok-yang authored Sep 3, 2024
2 parents 0a4550e + dd96b4d commit 6a04c9c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Assets/Resources/Shader/Depth.shader
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ Shader "Sensor/Depth"
v2f_img vert(appdata_img v)
{
v2f_img o;
UNITY_INITIALIZE_OUTPUT(v2f_img, o);

o.pos = UnityObjectToClipPos(v.vertex);
o.uv = MultiplyUV(UNITY_MATRIX_TEXTURE0, v.texcoord);

Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/Devices/Modules/RandomNumberGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static double GetNormal(in double mean, in double standardDeviation)
{
if (standardDeviation <= 0)
{
var msg = string.Format("Shape must be positive. Received {0}.", standardDeviation);
var msg = string.Format($"Shape must be positive. Received {standardDeviation}.");
// throw new ArgumentOutOfRangeException(msg);
Console.Write(msg);
}
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/Devices/SegmentationCamera.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace SensorDevices
[RequireComponent(typeof(UnityEngine.Camera))]
public class SegmentationCamera : Camera
{
private BlockingCollection<messages.Segmentation> _messageQueue = new BlockingCollection<messages.Segmentation>();
private new BlockingCollection<messages.Segmentation> _messageQueue = new BlockingCollection<messages.Segmentation>();

protected override void OnReset()
{
Expand Down
2 changes: 1 addition & 1 deletion ProjectSettings/GraphicsSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ GraphicsSettings:
m_TierSettings: []
m_LightmapStripping: 0
m_FogStripping: 0
m_InstancingStripping: 2
m_InstancingStripping: 0
m_BrgStripping: 0
m_LightmapKeepPlain: 1
m_LightmapKeepDirCombined: 1
Expand Down

0 comments on commit 6a04c9c

Please sign in to comment.