mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 20:06:49 +01:00
Fix virtual method overrides.
This commit is contained in:
parent
0438c3cc3f
commit
ffc0acba42
@ -3827,7 +3827,7 @@ Variant NavigationLink3DGizmoPlugin::get_handle_value(EditorSpatialGizmo *p_gizm
|
||||
return p_id == 0 ? link->get_start_position() : link->get_end_position();
|
||||
}
|
||||
|
||||
void NavigationLink3DGizmoPlugin::set_handle(const EditorSpatialGizmo *p_gizmo, int p_id, bool p_secondary, Camera *p_camera, const Point2 &p_point) {
|
||||
void NavigationLink3DGizmoPlugin::set_handle(EditorSpatialGizmo *p_gizmo, int p_id, bool p_secondary, Camera *p_camera, const Point2 &p_point) {
|
||||
NavigationLink3D *link = Object::cast_to<NavigationLink3D>(p_gizmo->get_spatial_node());
|
||||
|
||||
Transform gt = link->get_global_transform();
|
||||
@ -3860,7 +3860,7 @@ void NavigationLink3DGizmoPlugin::set_handle(const EditorSpatialGizmo *p_gizmo,
|
||||
}
|
||||
}
|
||||
|
||||
void NavigationLink3DGizmoPlugin::commit_handle(const EditorSpatialGizmo *p_gizmo, int p_id, bool p_secondary, const Variant &p_restore, bool p_cancel) {
|
||||
void NavigationLink3DGizmoPlugin::commit_handle(EditorSpatialGizmo *p_gizmo, int p_id, bool p_secondary, const Variant &p_restore, bool p_cancel) {
|
||||
NavigationLink3D *link = Object::cast_to<NavigationLink3D>(p_gizmo->get_spatial_node());
|
||||
|
||||
if (p_cancel) {
|
||||
|
@ -520,8 +520,8 @@ public:
|
||||
|
||||
String get_handle_name(const EditorSpatialGizmo *p_gizmo, int p_id, bool p_secondary) const;
|
||||
Variant get_handle_value(EditorSpatialGizmo *p_gizmo, int p_id, bool p_secondary) const;
|
||||
void set_handle(const EditorSpatialGizmo *p_gizmo, int p_id, bool p_secondary, Camera *p_camera, const Point2 &p_point);
|
||||
void commit_handle(const EditorSpatialGizmo *p_gizmo, int p_id, bool p_secondary, const Variant &p_restore, bool p_cancel = false);
|
||||
void set_handle(EditorSpatialGizmo *p_gizmo, int p_id, bool p_secondary, Camera *p_camera, const Point2 &p_point);
|
||||
void commit_handle(EditorSpatialGizmo *p_gizmo, int p_id, bool p_secondary, const Variant &p_restore, bool p_cancel = false);
|
||||
|
||||
NavigationLink3DGizmoPlugin();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user