Blender Git Commit Log

Git Commits -> Revision f3a7d93

November 7, 2020, 10:53 (GMT)
Cleanup: Fluid engine API return types

Use bool return type where possible instead of int (the return values from fluid object are already boolean instead of int).

Also removed several if guards in API functions. If one of the arguments is in fact invalid / nullptr (should not happen though), it better to catch them directly where they failed and not silently escape them.

Commit Details:

Full Hash: f3a7d9375d59c074432236846eaa4f7685be927d
Parent Commit: a033a0e
Committed By: Joseph Eagar
Lines Changed: +127, -209

4 Modified Paths:

/intern/mantaflow/extern/manta_fluid_API.h (+44, -47) (Diff)
/intern/mantaflow/intern/manta_fluid_API.cpp (+62, -146) (Diff)
/intern/mantaflow/intern/MANTA_main.cpp (+19, -14) (Diff)
/intern/mantaflow/intern/MANTA_main.h (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021