Exhaustive USD Format extensions

This commit is contained in:
Thomas Krijnen
2024-07-01 20:30:34 +02:00
parent 22cd1e8b9e
commit 0357d15ce4
+1 -1
View File
@@ -872,7 +872,7 @@ int main(int argc, char** argv) {
return EXIT_FAILURE;
}
if (geometry_settings.get<ifcopenshell::geometry::settings::UseElementHierarchy>().get() && output_extension != DAE && output_extension != USD) {
if (geometry_settings.get<ifcopenshell::geometry::settings::UseElementHierarchy>().get() && output_extension != DAE && output_extension != USD && output_extension != USDA && output_extension != USDC) {
cerr_ << "[Error] --use-element-hierarchy can be used only with .dae or .usd output.\n";
/// @todo Lots of duplicate error-and-exit code.
write_log(!quiet);