Remove experimental flag from graph nodes
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<class name="GraphEdit" inherits="Control" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
<class name="GraphEdit" inherits="Control" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
An editor for graph-like structures, using [GraphNode]s.
|
An editor for graph-like structures, using [GraphNode]s.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<class name="GraphElement" inherits="Container" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
<class name="GraphElement" inherits="Container" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
A container that represents a basic element that can be placed inside a [GraphEdit] control.
|
A container that represents a basic element that can be placed inside a [GraphEdit] control.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<class name="GraphFrame" inherits="GraphElement" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
<class name="GraphFrame" inherits="GraphElement" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
GraphFrame is a special [GraphElement] that can be used to organize other [GraphElement]s inside a [GraphEdit].
|
GraphFrame is a special [GraphElement] that can be used to organize other [GraphElement]s inside a [GraphEdit].
|
||||||
</brief_description>
|
</brief_description>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<class name="GraphNode" inherits="GraphElement" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
<class name="GraphNode" inherits="GraphElement" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
A container with connection ports, representing a node in a [GraphEdit].
|
A container with connection ports, representing a node in a [GraphEdit].
|
||||||
</brief_description>
|
</brief_description>
|
||||||
|
|||||||
@@ -252,14 +252,6 @@ Control::CursorShape GraphEdit::get_cursor_shape(const Point2 &p_pos) const {
|
|||||||
return Control::get_cursor_shape(p_pos);
|
return Control::get_cursor_shape(p_pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
PackedStringArray GraphEdit::get_configuration_warnings() const {
|
|
||||||
PackedStringArray warnings = Control::get_configuration_warnings();
|
|
||||||
|
|
||||||
warnings.push_back(RTR("Please be aware that GraphEdit and GraphNode will undergo extensive refactoring in a future 4.x version involving compatibility-breaking API changes."));
|
|
||||||
|
|
||||||
return warnings;
|
|
||||||
}
|
|
||||||
|
|
||||||
Error GraphEdit::connect_node(const StringName &p_from, int p_from_port, const StringName &p_to, int p_to_port, bool p_keep_alive) {
|
Error GraphEdit::connect_node(const StringName &p_from, int p_from_port, const StringName &p_to, int p_to_port, bool p_keep_alive) {
|
||||||
ERR_FAIL_NULL_V_MSG(connections_layer, FAILED, "connections_layer is missing.");
|
ERR_FAIL_NULL_V_MSG(connections_layer, FAILED, "connections_layer is missing.");
|
||||||
|
|
||||||
|
|||||||
@@ -405,8 +405,6 @@ public:
|
|||||||
|
|
||||||
virtual CursorShape get_cursor_shape(const Point2 &p_pos = Point2i()) const override;
|
virtual CursorShape get_cursor_shape(const Point2 &p_pos = Point2i()) const override;
|
||||||
|
|
||||||
PackedStringArray get_configuration_warnings() const override;
|
|
||||||
|
|
||||||
void key_input(const Ref<InputEvent> &p_ev);
|
void key_input(const Ref<InputEvent> &p_ev);
|
||||||
|
|
||||||
// This method has to be public (for undo redo).
|
// This method has to be public (for undo redo).
|
||||||
|
|||||||
Reference in New Issue
Block a user