Skip to content

Commit 6bff7fa

Browse files
committed
Remove delayed loading option in vdb tool
Signed-off-by: Dan Bailey <danbailey@ilm.com>
1 parent cf1e95d commit 6bff7fa

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • openvdb_cmd/vdb_tool/include

openvdb_cmd/vdb_tool/include/Tool.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,8 +622,7 @@ void Tool::init()
622622
mParser.addAction(
623623
{"read", "import", "load", "i"}, "Read one or more geometry or VDB files from disk or STDIN.",
624624
{{"files", "", "{file|stdin}.{obj|ply|abc|stl|off|pts|xyz|e57|vdb|nvdb|gltf|glb|geo|usd|usda|usdc|usdz}", "list of files or the input stream, e.g. file.vdb,stdin.vdb. Note that \"files=\" is optional since any argument without \"=\" is intrepreted as a file and appended to \"files\""},
625-
{"grids", "*", "*|grid_name,...", "list of VDB grids name to be imported (defaults to \"*\", i.e. import all available grids)"},
626-
{"delayed", "true", "1|0|true|false", "toggle delayed loading of VDB grids (enabled by default). This option is ignored by other file types"}},
625+
{"grids", "*", "*|grid_name,...", "list of VDB grids name to be imported (defaults to \"*\", i.e. import all available grids)"}},
627626
[](){}, [&](){this->read();}, 0);// anonymous options are treated as to the first option,i.e. "files"
628627

629628
mParser.addAction(
@@ -1466,7 +1465,7 @@ void Tool::readVDB(const std::string &fileName)
14661465
} else {
14671466
if (mParser.verbose) mTimer.start("Reading VDB grid(s) from file named \""+fileName+"\"");
14681467
io::File file(fileName);
1469-
file.open(mParser.get<bool>("delayed"));
1468+
file.open();
14701469
grids = file.getGrids();
14711470
}
14721471
const size_t count = mGrid.size();

0 commit comments

Comments
 (0)