We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd69b1a + fa249b1 commit 8521bc1Copy full SHA for 8521bc1
openvdb_houdini/openvdb_houdini/SOP_OpenVDB_Combine.cc
@@ -1524,9 +1524,7 @@ SOP_OpenVDB_Combine::Cache::combineGrids(
1524
compOp.interrupt = hvdb::Interrupter();
1525
1526
int success = false;
1527
- if (needA || UTvdbGetGridType(*aGrid) == UTvdbGetGridType(*bGrid)) {
1528
- success = aGrid->apply<hvdb::VolumeGridTypes>(compOp);
1529
- }
+ success = (needA ? aGrid : bGrid)->apply<hvdb::VolumeGridTypes>(compOp);
1530
if (!success || !compOp.outGrid) {
1531
std::ostringstream ostr;
1532
if (aGrid->type() == bGrid->type()) {
pendingchanges/vdbcombinefix.txt
@@ -0,0 +1,3 @@
1
+Houdini:
2
+ Fix crash in VDB Combine in Copy B mode if the second input has
3
+ more VDBs than the first.
0 commit comments