change brush size based on camera fov / zoom, refactor brush value curves

This commit is contained in:
2017-09-30 20:30:46 +01:00
parent 964795b44d
commit 4b49772af8
5 changed files with 19 additions and 10 deletions

View File

@@ -67,7 +67,6 @@ void NodeStrokePreview::draw_stroke()
glm::mat4 proj = glm::ortho<float>(0, (float)m_rtt.getWidth(), 0, (float)m_rtt.getHeight(), -1, 1);
auto b = m_brush;
//b.m_tip_size *= .7f; // reduce the size in the preview
m_stroke.reset();
m_stroke.start(b);
if (!m_stroke.m_keypoints.empty())