init brush settings at startup
This commit is contained in:
@@ -7,22 +7,22 @@ NS_START
|
||||
class Brush
|
||||
{
|
||||
public:
|
||||
int id;
|
||||
int id = 0;
|
||||
std::string m_name;
|
||||
uint16_t m_tex_id;
|
||||
uint16_t m_tex_id = 0;
|
||||
glm::vec4 m_tip_color;
|
||||
float m_tip_size;
|
||||
float m_tip_spacing;
|
||||
float m_tip_flow;
|
||||
float m_tip_opacity;
|
||||
float m_tip_angle;
|
||||
float m_tip_size = 0;
|
||||
float m_tip_spacing = 0;
|
||||
float m_tip_flow = 0;
|
||||
float m_tip_opacity = 0;
|
||||
float m_tip_angle = 0;
|
||||
bool m_tip_angle_follow = false;
|
||||
bool m_tip_flow_pressure = false;
|
||||
bool m_tip_size_pressure = false;
|
||||
float m_jitter_scale;
|
||||
float m_jitter_angle;
|
||||
float m_jitter_spread;
|
||||
float m_jitter_flow;
|
||||
float m_jitter_scale = 0;
|
||||
float m_jitter_angle = 0;
|
||||
float m_jitter_spread = 0;
|
||||
float m_jitter_flow = 0;
|
||||
};
|
||||
|
||||
struct StrokeSample
|
||||
|
||||
Reference in New Issue
Block a user