Skip to content

Commit

Permalink
#5547: Don't run the calculations if no transform type is set
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Oct 8, 2021
1 parent e6db9d5 commit b8b74b7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion radiantcore/brush/BrushNode.cpp
Expand Up @@ -542,7 +542,13 @@ void BrushNode::renderSelectedPoints(RenderableCollector& collector,
}
}

void BrushNode::evaluateTransform() {
void BrushNode::evaluateTransform()
{
if (getTransformationType() == NoTransform)
{
return;
}

Matrix4 matrix(calculateTransform());
//rMessage() << "matrix: " << matrix << "\n";

Expand Down

0 comments on commit b8b74b7

Please sign in to comment.