diff options
author | Martin Felke <martin.felke@googlemail.com> | 2019-04-10 01:42:48 +0300 |
---|---|---|
committer | Martin Felke <martin.felke@googlemail.com> | 2019-04-10 01:42:48 +0300 |
commit | e910ac7c3d2d5adc514ce3d78b15ef08b75c57a5 (patch) | |
tree | 0dbb652c8d1506360f116642350698f4f8fd5b45 /intern/openvdb | |
parent | f23ef4db630f232a561709c9a0441354cae5c35d (diff) |
disabling an operand now skips unnecessary calculations
useful when transforming the disabled operand for example
Diffstat (limited to 'intern/openvdb')
-rw-r--r-- | intern/openvdb/intern/openvdb_level_set.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/openvdb/intern/openvdb_level_set.cc b/intern/openvdb/intern/openvdb_level_set.cc index 280b008f369..c95cbceb10f 100644 --- a/intern/openvdb/intern/openvdb_level_set.cc +++ b/intern/openvdb/intern/openvdb_level_set.cc @@ -119,8 +119,8 @@ void OpenVDBLevelSet::OpenVDB_level_set_filter(OpenVDBLevelSet_FilterType filter } openvdb::FloatGrid::Ptr OpenVDBLevelSet::OpenVDB_CSG_operation(openvdb::FloatGrid::Ptr gridA, openvdb::FloatGrid::Ptr gridB, OpenVDBLevelSet_CSGOperation operation) { - openvdb::FloatGrid::Ptr gridA_copy = gridA->deepCopy(); - openvdb::FloatGrid::Ptr gridB_copy = gridB->deepCopy(); + openvdb::FloatGrid::Ptr gridA_copy = gridA;//->deepCopy(); + openvdb::FloatGrid::Ptr gridB_copy = gridB;//->deepCopy(); switch (operation) { case OPENVDB_LEVELSET_CSG_UNION: |