feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -113,15 +113,18 @@ class Path3DEditorPlugin : public EditorPlugin {
|
|||
Ref<Path3DGizmoPlugin> path_3d_gizmo_plugin;
|
||||
|
||||
HBoxContainer *topmenu_bar = nullptr;
|
||||
|
||||
HBoxContainer *toolbar = nullptr;
|
||||
Button *curve_create = nullptr;
|
||||
Button *curve_edit = nullptr;
|
||||
Button *curve_edit_curve = nullptr;
|
||||
Button *curve_edit_tilt = nullptr;
|
||||
Button *curve_del = nullptr;
|
||||
Button *curve_close = nullptr;
|
||||
Button *curve_closed = nullptr;
|
||||
Button *curve_clear_points = nullptr;
|
||||
MenuButton *handle_menu = nullptr;
|
||||
|
||||
Button *create_curve_button = nullptr;
|
||||
ConfirmationDialog *clear_points_dialog = nullptr;
|
||||
|
||||
float disk_size = 0.8;
|
||||
|
|
@ -138,14 +141,16 @@ class Path3DEditorPlugin : public EditorPlugin {
|
|||
Path3D *path = nullptr;
|
||||
|
||||
void _update_theme();
|
||||
void _update_toolbar();
|
||||
|
||||
void _mode_changed(int p_mode);
|
||||
void _close_curve();
|
||||
void _toggle_closed_curve();
|
||||
void _handle_option_pressed(int p_option);
|
||||
bool handle_clicked = false;
|
||||
bool mirror_handle_angle;
|
||||
bool mirror_handle_length;
|
||||
bool mirror_handle_angle = true;
|
||||
bool mirror_handle_length = true;
|
||||
|
||||
void _create_curve();
|
||||
void _confirm_clear_points();
|
||||
void _clear_points();
|
||||
void _clear_curve_points();
|
||||
|
|
@ -157,16 +162,15 @@ class Path3DEditorPlugin : public EditorPlugin {
|
|||
};
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
Path3D *get_edited_path() { return path; }
|
||||
|
||||
static Path3DEditorPlugin *singleton;
|
||||
inline static Path3DEditorPlugin *singleton = nullptr;
|
||||
virtual EditorPlugin::AfterGUIInput forward_3d_gui_input(Camera3D *p_camera, const Ref<InputEvent> &p_event) override;
|
||||
|
||||
virtual String get_name() const override { return "Path3D"; }
|
||||
virtual String get_plugin_name() const override { return "Path3D"; }
|
||||
bool has_main_screen() const override { return false; }
|
||||
virtual void edit(Object *p_object) override;
|
||||
virtual bool handles(Object *p_object) const override;
|
||||
|
|
@ -178,7 +182,6 @@ public:
|
|||
void set_handle_clicked(bool clicked) { handle_clicked = clicked; }
|
||||
|
||||
Path3DEditorPlugin();
|
||||
~Path3DEditorPlugin();
|
||||
};
|
||||
|
||||
#endif // PATH_3D_EDITOR_PLUGIN_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue