fix black sample
This commit is contained in:
@@ -47,6 +47,14 @@ struct StrokeSample
|
||||
float size = 0;
|
||||
float flow = 0;
|
||||
float angle = 0;
|
||||
bool valid() const
|
||||
{
|
||||
return !(
|
||||
glm::any(glm::isnan(col)) ||
|
||||
glm::any(glm::isnan(pos)) ||
|
||||
glm::any(glm::isnan(origin))
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
class BrushMesh
|
||||
|
||||
Reference in New Issue
Block a user