feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef PATH_2D_EDITOR_PLUGIN_H
|
||||
#define PATH_2D_EDITOR_PLUGIN_H
|
||||
#pragma once
|
||||
|
||||
#include "editor/plugins/editor_plugin.h"
|
||||
#include "scene/2d/path_2d.h"
|
||||
|
|
@ -97,6 +96,10 @@ class Path2DEditor : public HBoxContainer {
|
|||
Vector2 edge_point;
|
||||
Vector2 original_mouse_pos;
|
||||
|
||||
// Number of control points in range of the last click.
|
||||
// 0, 1, or 2.
|
||||
int control_points_in_range = 0;
|
||||
|
||||
void _mode_selected(int p_mode);
|
||||
void _handle_option_pressed(int p_option);
|
||||
void _cancel_current_action();
|
||||
|
|
@ -137,7 +140,4 @@ public:
|
|||
virtual void make_visible(bool p_visible) override;
|
||||
|
||||
Path2DEditorPlugin();
|
||||
~Path2DEditorPlugin();
|
||||
};
|
||||
|
||||
#endif // PATH_2D_EDITOR_PLUGIN_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue