mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-10 21:09:38 +01:00
Removed the render segments variable from PaintCurve2D.
This commit is contained in:
parent
961127cfc4
commit
632ee28564
@ -192,14 +192,6 @@ Vector2 PaintCurve2D::get_offset() const {
|
||||
return offset;
|
||||
}
|
||||
|
||||
void PaintCurve2D::set_render_segments(int p_segments) {
|
||||
_render_segments = p_segments;
|
||||
update();
|
||||
}
|
||||
int PaintCurve2D::get_render_segments() const {
|
||||
return _render_segments;
|
||||
}
|
||||
|
||||
void PaintCurve2D::fill_set_enabled(bool p_enabled) {
|
||||
_fill_enabled = p_enabled;
|
||||
update();
|
||||
@ -857,7 +849,6 @@ void PaintCurve2D::_bind_methods() {
|
||||
|
||||
PaintCurve2D::PaintCurve2D() {
|
||||
set_curve(Ref<Curve2D>(memnew(Curve2D))); //create one by default
|
||||
_render_segments = 8;
|
||||
//set_self_modulate(Color(0.5, 0.6, 1.0, 0.7));
|
||||
|
||||
_fill_enabled = true;
|
||||
|
@ -58,9 +58,6 @@ public:
|
||||
void set_offset(const Vector2 &p_offset);
|
||||
Vector2 get_offset() const;
|
||||
|
||||
void set_render_segments(int p_segments);
|
||||
int get_render_segments() const;
|
||||
|
||||
void fill_set_enabled(bool p_enabled);
|
||||
bool fill_get_enabled() const;
|
||||
|
||||
@ -134,7 +131,6 @@ protected:
|
||||
protected:
|
||||
Ref<Curve2D> curve;
|
||||
Vector2 offset;
|
||||
int _render_segments;
|
||||
|
||||
bool _fill_enabled;
|
||||
Color _fill_color;
|
||||
|
Loading…
Reference in New Issue
Block a user