Blender Git Loki

Git Commits -> Revision 6bca9d8

Revision 6bca9d8 by Sebastián Barschkis (master)
November 6, 2020, 13:35 (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: 6bca9d8c113e80aa9550229719b7c59c34e46bb5
Parent Commit: af35ada
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021