fix dynamic spacing with pressure

This commit is contained in:
2019-11-25 10:40:34 +01:00
parent 9be704a26f
commit 2e4561c32a

View File

@@ -260,6 +260,7 @@ void Stroke::add_point(glm::vec3 pos, float pressure)
kp.dist = 0;
m_keypoints.push_back(kp);
m_interp_main.spacing = m_step;
m_interp_main.add(kp);
m_interp_dir.add(kp);
}