Blender Git Commit Log

Git Commits -> Revision 7e245e4

Revision 7e245e4 by Philipp Oeser (master)
September 11, 2019, 16:01 (GMT)
Fix T59143: Frame Selected Doesn't work in hair particle editmode

This is caused by rBeb521b22b2b1.

Looks like `PE_minmax` doesnt play nice with the evaluated view_layer.
If we look inside `PE_get_current`, then `BKE_ptcache_ids_from_object`
will actually return a list of `PTCacheID` for the evaluated object.
However, looking further, then `PTCacheEdit` / `psys->pointcache->edit`
is always NULL for the evaluated object.

Without a valid `PTCacheEdit`, `PE_minmax` will basically do nothing.
So now we are passing the non-evaluated view layer in the case of

Regarding to @sergey, in a longer term we should probably make it so
evaluated pointcache have pointer to edit.

Reviewers: sergey

Maniphest Tasks: T59143

Differential Revision:

Commit Details:

Full Hash: 7e245e482ca6f1c1d9a84c317feb151758316d34
Parent Commit: 30aa67d
Lines Changed: +1, -1

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020