-Forgot to add clips input to graphedit, fixes #3420
This commit is contained in:
parent
5ca338bab6
commit
a2992d5955
|
@ -2,6 +2,8 @@
|
|||
#include "os/input.h"
|
||||
#include "os/keyboard.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
|
||||
|
||||
bool GraphEditFilter::has_point(const Point2& p_point) const {
|
||||
|
||||
return ge->_filter_input(p_point);
|
||||
|
@ -54,6 +56,11 @@ void GraphEdit::disconnect_node(const StringName& p_from, int p_from_port,const
|
|||
}
|
||||
}
|
||||
|
||||
bool GraphEdit::clips_input() const {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void GraphEdit::get_connection_list(List<Connection> *r_connections) const {
|
||||
|
||||
*r_connections=connections;
|
||||
|
|
|
@ -93,7 +93,7 @@ protected:
|
|||
virtual void add_child_notify(Node *p_child);
|
||||
virtual void remove_child_notify(Node *p_child);
|
||||
void _notification(int p_what);
|
||||
|
||||
virtual bool clips_input() const;
|
||||
public:
|
||||
|
||||
Error connect_node(const StringName& p_from, int p_from_port,const StringName& p_to,int p_to_port);
|
||||
|
|
|
@ -49,6 +49,7 @@ class GraphNode : public Container {
|
|||
bool selected;
|
||||
protected:
|
||||
|
||||
|
||||
void _input_event(const InputEvent& p_ev);
|
||||
void _notification(int p_what);
|
||||
static void _bind_methods();
|
||||
|
|
Loading…
Reference in New Issue