Add [SdfLib](https://github.com/UPC-ViRVIG/SdfLib) plugin to first-party SDFs.
The following dependencies are disabled with a cmake patch file. - Enoki - OpenMP - Assimp - FCPW PiperOrigin-RevId: 565352386 Change-Id: Icff9de68408e0afa2032bb83b24491fc4e41d181
This commit is contained in:
committed by
Copybara-Service
parent
de5c3b1a09
commit
1afd98ec4b
@@ -394,7 +394,7 @@ void mjCMesh::Compile(const mjVFS* vfs) {
|
||||
}
|
||||
|
||||
// create using marching cubes
|
||||
if (is_plugin) {
|
||||
else if (is_plugin) {
|
||||
LoadSDF();
|
||||
}
|
||||
|
||||
|
||||
@@ -669,6 +669,8 @@ std::string mjuu_extToContentType(std::string_view filename) {
|
||||
return "model/stl";
|
||||
} else if (!strcasecmp(ext.c_str(), ".obj")) {
|
||||
return "model/obj";
|
||||
} else if (!strcasecmp(ext.c_str(), ".ply")) {
|
||||
return "model/ply";
|
||||
} else if (!strcasecmp(ext.c_str(), ".msh")) {
|
||||
return "model/vnd.mujoco.msh";
|
||||
} else if (!strcasecmp(ext.c_str(), ".png")) {
|
||||
|
||||
Reference in New Issue
Block a user