Details
- Reviewers
Sergey Sharybin (sergey) Brecht Van Lommel (brecht) - Maniphest Tasks
- T60417: Hair not instantly updating when editing guide curve
- Commits
- rBS32c2e941e639: Fix T60417: Hair not instantly updating when editing curve guide
rB32c2e941e639: Fix T60417: Hair not instantly updating when editing curve guide
Diff Detail
- Repository
- rB Blender
- Branch
- T60417 (branched from master)
- Build Status
Buildable 2763 Build 2763: 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.
Same code needs to be added in DEG_add_forcefield_relations, but otherwise looks good.
Brecht is more familiar with the specifics of forcefields. To me seems logical, just indeed should also be done in DEG_add_forcefield_relations.