fix dynamic spacing with pressure
This commit is contained in:
@@ -260,6 +260,7 @@ void Stroke::add_point(glm::vec3 pos, float pressure)
|
|||||||
kp.dist = 0;
|
kp.dist = 0;
|
||||||
m_keypoints.push_back(kp);
|
m_keypoints.push_back(kp);
|
||||||
|
|
||||||
|
m_interp_main.spacing = m_step;
|
||||||
m_interp_main.add(kp);
|
m_interp_main.add(kp);
|
||||||
m_interp_dir.add(kp);
|
m_interp_dir.add(kp);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user