You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Improve reliability of 2D shape editor redrawing
This commit is contained in:
@@ -74,16 +74,17 @@ class CollisionShape2DEditor : public Control {
|
||||
Vector2 original_point;
|
||||
Point2 last_point;
|
||||
|
||||
Ref<Shape2D> current_shape;
|
||||
|
||||
Variant get_handle_value(int idx) const;
|
||||
void set_handle(int idx, Point2 &p_point);
|
||||
void commit_handle(int idx, Variant &p_org);
|
||||
|
||||
void _get_current_shape_type();
|
||||
void _shape_changed();
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
void _node_removed(Node *p_node);
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
bool forward_canvas_gui_input(const Ref<InputEvent> &p_event);
|
||||
|
||||
Reference in New Issue
Block a user