Blender Git Loki

Git Commits -> Revision c17ccb1

Revision c17ccb1 by Kévin Dietrich (openvdb)
August 3, 2015, 19:38 (GMT)
Definitely remove the exception safety code.

It was first included as a safety net, but after close inspection of
where exceptions are used in the OpenVDB library, it appears that about
half of them are not used at all whilst the others are fairly dumb and
can be avoided gracefully (e.g. openvdb::ValueError is thrown in some
place if a negative value is passed, so don't pass a negative value ;).

Also the only place where it was used could hardly result in an
exception (only happens if the file is not a .vdb file, so let's trust
the user on that).

Commit Details:

Full Hash: c17ccb165e87af1d29ada13a0c09be5a1a46b8c9
Parent Commit: b9f6757
Lines Changed: +17, -94

4 Modified Paths:

/intern/openvdb/openvdb_capi.cc (+17, -23) (Diff)
/intern/openvdb/openvdb_capi.h (+0, -15) (Diff)
/intern/openvdb/openvdb_util.cc (+0, -54) (Diff)
/intern/openvdb/openvdb_util.h (+0, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021