Skip to content

Commit

Permalink
#6030: Remove an assert that fires when parsing an invalid shader exp…
Browse files Browse the repository at this point in the history
…ression in material stages. This is user input and can occur rather frequently when manually editing materials.
  • Loading branch information
codereader committed Aug 15, 2022
1 parent a5a058e commit 134d63a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions radiantcore/shaders/ShaderExpression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,6 @@ class ShaderExpressionParser
auto rv = operands.top();
operands.pop();

assert(operands.empty()); // there should be nothing left on the stack

return rv;
}

Expand Down

0 comments on commit 134d63a

Please sign in to comment.