File tree Expand file tree Collapse file tree 2 files changed +3
-27
lines changed Expand file tree Collapse file tree 2 files changed +3
-27
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ endif()
67
67
ExternalProject_Add (
68
68
ext_embree
69
69
PREFIX embree
70
- URL https://github.com/embree/embree/archive/refs/tags/v4.3.1 .tar.gz
71
- URL_HASH SHA256=824edcbb7a8cd393c5bdb7a16738487b21ecc4e1d004ac9f761e934f97bb02a4
70
+ URL https://github.com/embree/embree/archive/refs/tags/v4.3.3 .tar.gz
71
+ URL_HASH SHA256=8a3bc3c3e21aa209d9861a28f8ba93b2f82ed0dc93341dddac09f1f03c36ef2d
72
72
DOWNLOAD_DIR "${OPEN3D_THIRD_PARTY_DOWNLOAD_DIR} /embree"
73
73
UPDATE_COMMAND ""
74
74
CMAKE_ARGS
Original file line number Diff line number Diff line change @@ -1180,31 +1180,7 @@ template <>
1180
1180
struct formatter <RTCError> {
1181
1181
template <typename FormatContext>
1182
1182
auto format (const RTCError& c, FormatContext& ctx) {
1183
- const char * name = nullptr ;
1184
- switch (c) {
1185
- case RTC_ERROR_NONE:
1186
- name = " RTC_ERROR_NONE" ;
1187
- break ;
1188
- case RTC_ERROR_UNKNOWN:
1189
- name = " RTC_ERROR_UNKNOWN" ;
1190
- break ;
1191
- case RTC_ERROR_INVALID_ARGUMENT:
1192
- name = " RTC_ERROR_INVALID_ARGUMENT" ;
1193
- break ;
1194
- case RTC_ERROR_INVALID_OPERATION:
1195
- name = " RTC_ERROR_INVALID_OPERATION" ;
1196
- break ;
1197
- case RTC_ERROR_OUT_OF_MEMORY:
1198
- name = " RTC_ERROR_OUT_OF_MEMORY" ;
1199
- break ;
1200
- case RTC_ERROR_UNSUPPORTED_CPU:
1201
- name = " RTC_ERROR_UNSUPPORTED_CPU" ;
1202
- break ;
1203
- case RTC_ERROR_CANCELLED:
1204
- name = " RTC_ERROR_CANCELLED" ;
1205
- break ;
1206
- }
1207
- // return formatter<string_view>::format(name, ctx);
1183
+ const char * name = rtcGetErrorString (c);
1208
1184
return format_to (ctx.out (), name);
1209
1185
}
1210
1186
You can’t perform that action at this time.
0 commit comments