Fix: Cycles volume assert on Windows due to wrong comparator
Introduced in 13ab5067ce.
Pull Request: https://projects.blender.org/blender/blender/pulls/144167
This commit is contained in:
committed by
Brecht Van Lommel
parent
63cee26814
commit
6dc9cd366a
@@ -299,7 +299,7 @@ class ShaderNodeIDAndBoolComparator {
|
||||
bool operator()(const std::pair<ShaderNode *, bool> p1,
|
||||
const std::pair<ShaderNode *, bool> p2) const
|
||||
{
|
||||
return p1.first->id < p2.first->id || p1.second < p2.second;
|
||||
return p1.first->id < p2.first->id || (p1.first->id == p2.first->id && p1.second < p2.second);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user