Page MenuHome

Fix T65889: Hair Particles not updating in Viewport when using Influence Textures
Needs RevisionPublic

Authored by Philipp Oeser (lichtwerk) on Jun 18 2019, 2:07 PM.

Details

Summary

just dropping this here because it works, pretty sure though there is a cleaner way of doing things...

Diff Detail

Repository
rB Blender
Branch
T65889 (branched from master)
Build Status
Buildable 3891
Build 3891: arc lint + arc unit

Event Timeline

  • bring back unneccessary removal
source/blender/depsgraph/intern/builder/deg_builder_relations.cc
1781–1786

Think particle should always be dependent on its texture.

2234–2239

This should be using the following chain of relations:

Time Source -> Image -> Texture.
Brecht Van Lommel (brecht) requested changes to this revision.Jun 21 2019, 5:28 PM

Setting as Request Changes to make the state of this patch clear.

This revision now requires changes to proceed.Jun 21 2019, 5:28 PM
source/blender/depsgraph/intern/builder/deg_builder_relations.cc
1781–1786

they are (see code just above).
this is just adding the relation to cow texture (if it has animated images)

2234–2239

totally agree, tbh, I just didnt get it to work...

The way the operation code works DepsgraphNodeBuilder::build_animation_images / BKE_image_user_id_eval_animation it works on related cow ID and I dont see how to set up a (working) relation to the Image directly, thats why I went

Time Source > Texture > Particle

Maybe @Brecht Van Lommel (brecht) can comment (but I will also check this again with fresh eyes next week...)