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:
itsmattkc
2020-05-06 17:45:44 +10:00
parent 1ceefb6dba
commit 67854a2c97
8 changed files with 32 additions and 25 deletions
+1 -1
View File
@@ -287,7 +287,7 @@ bool Node::HasGizmos() const
return false;
}
void Node::DrawGizmos(NodeValueDatabase &, QPainter *) const
void Node::DrawGizmos(NodeValueDatabase &, QPainter *, const QVector2D &) const
{
}