|
@@ -66,9 +66,9 @@ class CollisionShape2DEditor : public Control {
|
|
|
|
|
|
Vector<Point2> handles;
|
|
|
|
|
|
- int shape_type;
|
|
|
- int edit_handle;
|
|
|
- bool pressed;
|
|
|
+ int shape_type = -1;
|
|
|
+ int edit_handle = -1;
|
|
|
+ bool pressed = false;
|
|
|
Variant original;
|
|
|
Transform2D original_transform;
|
|
|
Vector2 original_point;
|
|
@@ -90,8 +90,6 @@ public:
|
|
|
bool forward_canvas_gui_input(const Ref<InputEvent> &p_event);
|
|
|
void forward_canvas_draw_over_viewport(Control *p_overlay);
|
|
|
void edit(Node *p_node);
|
|
|
-
|
|
|
- CollisionShape2DEditor();
|
|
|
};
|
|
|
|
|
|
class CollisionShape2DEditorPlugin : public EditorPlugin {
|