mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-12 15:49:00 +08:00
Merge pull request #660 from google/revert-626-StrDraco
Revert "Add version string output to cli tools."
This commit is contained in:
commit
9d20a3b7e9
@ -15,7 +15,6 @@
|
|||||||
#include <cinttypes>
|
#include <cinttypes>
|
||||||
|
|
||||||
#include "draco/compression/decode.h"
|
#include "draco/compression/decode.h"
|
||||||
#include "draco/core/draco_version.h"
|
|
||||||
#include "draco/core/cycle_timer.h"
|
#include "draco/core/cycle_timer.h"
|
||||||
#include "draco/io/file_utils.h"
|
#include "draco/io/file_utils.h"
|
||||||
#include "draco/io/obj_encoder.h"
|
#include "draco/io/obj_encoder.h"
|
||||||
@ -56,9 +55,6 @@ int main(int argc, char **argv) {
|
|||||||
if (!strcmp("-h", argv[i]) || !strcmp("-?", argv[i])) {
|
if (!strcmp("-h", argv[i]) || !strcmp("-?", argv[i])) {
|
||||||
Usage();
|
Usage();
|
||||||
return 0;
|
return 0;
|
||||||
} else if (!strcmp("-v", argv[i])) {
|
|
||||||
printf("draco_decoder version: %s\n", draco::Version());
|
|
||||||
return 0;
|
|
||||||
} else if (!strcmp("-i", argv[i]) && i < argc_check) {
|
} else if (!strcmp("-i", argv[i]) && i < argc_check) {
|
||||||
options.input = argv[++i];
|
options.input = argv[++i];
|
||||||
} else if (!strcmp("-o", argv[i]) && i < argc_check) {
|
} else if (!strcmp("-o", argv[i]) && i < argc_check) {
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
||||||
#include "draco/compression/encode.h"
|
#include "draco/compression/encode.h"
|
||||||
#include "draco/core/draco_version.h"
|
|
||||||
#include "draco/core/cycle_timer.h"
|
#include "draco/core/cycle_timer.h"
|
||||||
#include "draco/io/file_utils.h"
|
#include "draco/io/file_utils.h"
|
||||||
#include "draco/io/mesh_io.h"
|
#include "draco/io/mesh_io.h"
|
||||||
@ -196,9 +195,6 @@ int main(int argc, char **argv) {
|
|||||||
if (!strcmp("-h", argv[i]) || !strcmp("-?", argv[i])) {
|
if (!strcmp("-h", argv[i]) || !strcmp("-?", argv[i])) {
|
||||||
Usage();
|
Usage();
|
||||||
return 0;
|
return 0;
|
||||||
} else if (!strcmp("-v", argv[i])) {
|
|
||||||
printf("draco_encoder version: %s\n", draco::Version());
|
|
||||||
return 0;
|
|
||||||
} else if (!strcmp("-i", argv[i]) && i < argc_check) {
|
} else if (!strcmp("-i", argv[i]) && i < argc_check) {
|
||||||
options.input = argv[++i];
|
options.input = argv[++i];
|
||||||
} else if (!strcmp("-o", argv[i]) && i < argc_check) {
|
} else if (!strcmp("-o", argv[i]) && i < argc_check) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user