gizmos: use scale instead of matrix transform
Improves appearance of gizmos lines and ensures other controls are drawn in UI dimensions rather than texture dimensions.
This commit is contained in:
@@ -102,7 +102,7 @@ bool MatrixGenerator::HasGizmos() const
|
||||
return true;
|
||||
}
|
||||
|
||||
void MatrixGenerator::DrawGizmos(NodeValueDatabase &db, QPainter *p) const
|
||||
void MatrixGenerator::DrawGizmos(NodeValueDatabase &db, QPainter *p, const QVector2D &scale) const
|
||||
{
|
||||
p->setPen(Qt::white);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user