VOXCONVERT: changed default value for --image-as-volume-both-sides

master
Martin Gerhardy 2022-05-01 21:27:48 +02:00
parent 745a1ad125
commit 71c4b24326
2 changed files with 2 additions and 2 deletions

View File

@ -11,6 +11,6 @@ namespace voxelutil {
extern void importHeightmap(voxel::RawVolumeWrapper& volume, const image::ImagePtr& image, const voxel::Voxel &underground, const voxel::Voxel &surface);
extern voxel::RawVolume* importAsPlane(const image::ImagePtr& image, uint8_t thickness = 1);
extern voxel::RawVolume* importAsVolume(const image::ImagePtr& image, uint8_t maxDepth, bool bothSides = true);
extern voxel::RawVolume* importAsVolume(const image::ImagePtr& image, uint8_t maxDepth, bool bothSides = false);
}

View File

@ -57,7 +57,7 @@ app::AppState VoxConvert::onConstruct() {
registerArg("--image-as-plane").setDescription("Import given input images as planes");
registerArg("--image-as-volume").setDescription("Import given input image as volume");
registerArg("--image-as-volume-max-depth").setDefaultValue("8").setDescription("Importing image as volume max depth");
registerArg("--image-as-volume-both-sides").setDefaultValue("true").setDescription("Importing image as volume for both sides");
registerArg("--image-as-volume-both-sides").setDefaultValue("false").setDescription("Importing image as volume for both sides");
registerArg("--image-as-heightmap").setDescription("Import given input images as heightmaps");
registerArg("--input").setShort("-i").setDescription("Allow to specify input files");
registerArg("--merge").setShort("-m").setDescription("Merge layers into one volume");