浏览代码

Fix for breaking change in capture refactor. (#147)

* fix for breaking change in capture refactor. FlipY is correct by default in preview.16 and later

* revert anyVisualizing change, this was a test and was not intended to be a part of this PR
/main
GitHub 4 年前
当前提交
b8ecfead
共有 2 个文件被更改,包括 9 次插入1 次删除
  1. 5
      com.unity.perception/Runtime/GroundTruth/PerceptionCamera.cs
  2. 5
      com.unity.perception/Runtime/Unity.Perception.Runtime.asmdef

5
com.unity.perception/Runtime/GroundTruth/PerceptionCamera.cs


}
};
#if SIMULATION_CAPTURE_0_0_10_PREVIEW_16_OR_NEWER
CaptureCamera.Capture(cam, colorFunctor, forceFlip: ForceFlip.None);
#else
#endif
Profiler.EndSample();
}

5
com.unity.perception/Runtime/Unity.Perception.Runtime.asmdef


"name": "com.unity.render-pipelines.universal",
"expression": "",
"define": "URP_PRESENT"
},
{
"name": "com.unity.simulation.capture",
"expression": "0.0.10-preview.16",
"define": "SIMULATION_CAPTURE_0_0_10_PREVIEW_16_OR_NEWER"
}
],
"noEngineReferences": false
正在加载...
取消
保存