Page MenuHome

Fix T60417: Hair not instantly updating when editing curve guide
Needs ReviewPublic

Authored by Philipp Oeser (lichtwerk) on Fri, Jan 11, 1:19 PM.

Diff Detail

rB Blender
T60417 (branched from master)
Build Status
Buildable 2721
Build 2721: arc lint + arc unit

Event Timeline

note 1: not exactly sure if pointcache_relation is really needed?
note 2: editing the Curve guide was already working for moving particles (just not hair), so apparently there is a relation somewhere already.

to sum it up: not sure if this is done correctly, but it makes immediate updates work for hair... :)

There is missing space prior to {.

Particles might work due to different evaluation runtime or so. I do not see any relations for PFIELD_GUIDE , so that relation seems indeed to be needed.

As for ptcache relation,. check in 2.79 whether point cache was reset when moving the guide. That'd be the most reliable way, just mimmic what was happening. There are some unconsistencies in particles code, so i can't give reliable answer out of top of my head.