File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
openvdb_houdini/openvdb_houdini Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -705,12 +705,11 @@ SOP_OpenVDB_Sample_Points::Cache::cookVDBSop(OP_Context& context)
705705 }
706706 }
707707
708- // timing: end time
709- auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(
710- std::chrono::steady_clock::now () - time_start);
711- const double seconds = double (duration.count ()) / 1000.0 ;
712-
713708 if (verbose) {
709+ // timing: end time
710+ auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(
711+ std::chrono::steady_clock::now () - time_start);
712+ const double seconds = double (duration.count ()) / 1000.0 ;
714713 std::cout << " Sampling " << nPoints + nVDBPoints << " points in "
715714 << numVectorGrids << " vector grid" << (numVectorGrids == 1 ? " " : " s" )
716715 << " and " << numScalarGrids << " scalar grid"
You can’t perform that action at this time.
0 commit comments