Blender Git Commit Log

Git Commits -> Revision 1e255ce

Revision 1e255ce by Jacques Lucke (master)
July 3, 2020, 13:27 (GMT)
Fix T72214: Fluids: noise does not work with negative frame numbers

The issue is duplicated code. There are two functions that zero-fill
the frame number. They worked the same for positive frames numbers, but
behaved differently for negative ones.

On frame `-100`, `BLI_path_frame` outputs `-0100` and
`fluid_cache_get_framenr_formatted_$ID$` outputted `-100`.

I changed the behavior of the latter, because we depend on the behavior
of the former for much longer already.

Reviewers: sebbas

Differential Revision: https://developer.blender.org/D8107

Commit Details:

Full Hash: 1e255ce0319d6cf45b6951a2a87590d2ca236e9f
Parent Commit: 2633683
Lines Changed: +17, -1

2 Modified Paths:

/intern/mantaflow/intern/strings/fluid_script.h (+3, -1) (Diff)
/tests/gtests/blenlib/BLI_path_util_test.cc (+14, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021