diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2021-05-04 16:19:33 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-05-06 09:30:54 +0300 |
commit | a1069b6c662ffbeba0457164c3ec831678b25fd4 (patch) | |
tree | 086427e360479ce42ef4e6901c4943be789397bd /source/blender/io/collada/Materials.h | |
parent | 89858e1c5decdafacdc3426214c4abb81a69822e (diff) |
Fix T86314: materials not updated correctly after collada import (again)
While rB6b18678e34bf did the correct updates, it did it a bit early (not
covering all possible node tree changes).
Now do the ntreeUpdateTree() at the very end of the material import
instead.
Thx @scurest investigating.
Maniphest Tasks: T86314
Differential Revision: https://developer.blender.org/D11159
Diffstat (limited to 'source/blender/io/collada/Materials.h')
-rw-r--r-- | source/blender/io/collada/Materials.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/io/collada/Materials.h b/source/blender/io/collada/Materials.h index f671a00758d..2d8c823a4c2 100644 --- a/source/blender/io/collada/Materials.h +++ b/source/blender/io/collada/Materials.h @@ -68,4 +68,6 @@ class MaterialNode { void set_alpha(COLLADAFW::EffectCommon::OpaqueMode mode, COLLADAFW::ColorOrTexture &cot, COLLADAFW::FloatOrParam &val); + + void update_material_nodetree(); }; |