diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-10 15:31:57 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-10 15:31:57 +0400 |
commit | e46551246ca305d0b723a7fb0e955e4852b1efdc (patch) | |
tree | ae97b719a75391e53868d0e4e8e8fedf83c0b2cb /intern/cycles/render/graph.h | |
parent | 4392fc6f1d4950ab0e0e60aae1bd5dea5baf26de (diff) |
Fix #35272: cycles GPU crash with anisotropic shader in group node.
Problem was that due to group proxy node the anisotropic node did not detect
early enough that it needs generated texture coordinate data to generate the
tangent. Now the proxy nodes are removed earlier.
Diffstat (limited to 'intern/cycles/render/graph.h')
-rw-r--r-- | intern/cycles/render/graph.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/graph.h b/intern/cycles/render/graph.h index 46043cf85d2..8e91a9ddc07 100644 --- a/intern/cycles/render/graph.h +++ b/intern/cycles/render/graph.h @@ -239,6 +239,7 @@ public: void connect(ShaderOutput *from, ShaderInput *to); void disconnect(ShaderInput *to); + void remove_unneeded_nodes(); void finalize(bool do_bump = false, bool do_osl = false, bool do_multi_closure = false); protected: @@ -247,7 +248,6 @@ protected: void find_dependencies(set<ShaderNode*>& dependencies, ShaderInput *input); void copy_nodes(set<ShaderNode*>& nodes, map<ShaderNode*, ShaderNode*>& nnodemap); - void remove_proxy_nodes(vector<bool>& removed); void break_cycles(ShaderNode *node, vector<bool>& visited, vector<bool>& on_stack); void clean(); void bump_from_displacement(); |