|
@@ -480,33 +480,33 @@ void VisualScriptEditor::_update_graph(int p_only_id) {
|
|
|
select_func_text->hide();
|
|
|
|
|
|
Ref<Texture> type_icons[Variant::VARIANT_MAX] = {
|
|
|
- Control::get_icon("MiniVariant", "EditorIcons"),
|
|
|
- Control::get_icon("MiniBoolean", "EditorIcons"),
|
|
|
- Control::get_icon("MiniInteger", "EditorIcons"),
|
|
|
- Control::get_icon("MiniFloat", "EditorIcons"),
|
|
|
- Control::get_icon("MiniString", "EditorIcons"),
|
|
|
- Control::get_icon("MiniVector2", "EditorIcons"),
|
|
|
- Control::get_icon("MiniRect2", "EditorIcons"),
|
|
|
- Control::get_icon("MiniVector3", "EditorIcons"),
|
|
|
- Control::get_icon("MiniTransform2D", "EditorIcons"),
|
|
|
- Control::get_icon("MiniPlane", "EditorIcons"),
|
|
|
- Control::get_icon("MiniQuat", "EditorIcons"),
|
|
|
- Control::get_icon("MiniAabb", "EditorIcons"),
|
|
|
- Control::get_icon("MiniBasis", "EditorIcons"),
|
|
|
- Control::get_icon("MiniTransform", "EditorIcons"),
|
|
|
- Control::get_icon("MiniColor", "EditorIcons"),
|
|
|
- Control::get_icon("MiniPath", "EditorIcons"),
|
|
|
- Control::get_icon("MiniRid", "EditorIcons"),
|
|
|
+ Control::get_icon("Variant", "EditorIcons"),
|
|
|
+ Control::get_icon("Bool", "EditorIcons"),
|
|
|
+ Control::get_icon("Int", "EditorIcons"),
|
|
|
+ Control::get_icon("Float", "EditorIcons"),
|
|
|
+ Control::get_icon("String", "EditorIcons"),
|
|
|
+ Control::get_icon("Vector2", "EditorIcons"),
|
|
|
+ Control::get_icon("Rect2", "EditorIcons"),
|
|
|
+ Control::get_icon("Vector3", "EditorIcons"),
|
|
|
+ Control::get_icon("Transform2D", "EditorIcons"),
|
|
|
+ Control::get_icon("Plane", "EditorIcons"),
|
|
|
+ Control::get_icon("Quat", "EditorIcons"),
|
|
|
+ Control::get_icon("Aabb", "EditorIcons"),
|
|
|
+ Control::get_icon("Basis", "EditorIcons"),
|
|
|
+ Control::get_icon("Transform", "EditorIcons"),
|
|
|
+ Control::get_icon("Color", "EditorIcons"),
|
|
|
+ Control::get_icon("NodePath", "EditorIcons"),
|
|
|
+ Control::get_icon("RID", "EditorIcons"),
|
|
|
Control::get_icon("MiniObject", "EditorIcons"),
|
|
|
- Control::get_icon("MiniDictionary", "EditorIcons"),
|
|
|
- Control::get_icon("MiniArray", "EditorIcons"),
|
|
|
- Control::get_icon("MiniRawArray", "EditorIcons"),
|
|
|
- Control::get_icon("MiniIntArray", "EditorIcons"),
|
|
|
- Control::get_icon("MiniFloatArray", "EditorIcons"),
|
|
|
- Control::get_icon("MiniStringArray", "EditorIcons"),
|
|
|
- Control::get_icon("MiniVector2Array", "EditorIcons"),
|
|
|
- Control::get_icon("MiniVector3Array", "EditorIcons"),
|
|
|
- Control::get_icon("MiniColorArray", "EditorIcons")
|
|
|
+ Control::get_icon("Dictionary", "EditorIcons"),
|
|
|
+ Control::get_icon("Array", "EditorIcons"),
|
|
|
+ Control::get_icon("PoolByteArray", "EditorIcons"),
|
|
|
+ Control::get_icon("PoolIntArray", "EditorIcons"),
|
|
|
+ Control::get_icon("PoolRealArray", "EditorIcons"),
|
|
|
+ Control::get_icon("PoolStringArray", "EditorIcons"),
|
|
|
+ Control::get_icon("PoolVector2Array", "EditorIcons"),
|
|
|
+ Control::get_icon("PoolVector3Array", "EditorIcons"),
|
|
|
+ Control::get_icon("PoolColorArray", "EditorIcons")
|
|
|
};
|
|
|
|
|
|
Ref<Texture> seq_port = Control::get_icon("VisualShaderPort", "EditorIcons");
|
|
@@ -774,33 +774,33 @@ void VisualScriptEditor::_update_members() {
|
|
|
variables->set_custom_color(0, Control::get_color("mono_color", "Editor"));
|
|
|
|
|
|
Ref<Texture> type_icons[Variant::VARIANT_MAX] = {
|
|
|
- Control::get_icon("MiniVariant", "EditorIcons"),
|
|
|
- Control::get_icon("MiniBoolean", "EditorIcons"),
|
|
|
- Control::get_icon("MiniInteger", "EditorIcons"),
|
|
|
- Control::get_icon("MiniFloat", "EditorIcons"),
|
|
|
- Control::get_icon("MiniString", "EditorIcons"),
|
|
|
- Control::get_icon("MiniVector2", "EditorIcons"),
|
|
|
- Control::get_icon("MiniRect2", "EditorIcons"),
|
|
|
- Control::get_icon("MiniVector3", "EditorIcons"),
|
|
|
- Control::get_icon("MiniMatrix32", "EditorIcons"),
|
|
|
- Control::get_icon("MiniPlane", "EditorIcons"),
|
|
|
- Control::get_icon("MiniQuat", "EditorIcons"),
|
|
|
- Control::get_icon("MiniAabb", "EditorIcons"),
|
|
|
- Control::get_icon("MiniMatrix3", "EditorIcons"),
|
|
|
- Control::get_icon("MiniTransform", "EditorIcons"),
|
|
|
- Control::get_icon("MiniColor", "EditorIcons"),
|
|
|
- Control::get_icon("MiniPath", "EditorIcons"),
|
|
|
- Control::get_icon("MiniRid", "EditorIcons"),
|
|
|
+ Control::get_icon("Variant", "EditorIcons"),
|
|
|
+ Control::get_icon("Bool", "EditorIcons"),
|
|
|
+ Control::get_icon("Int", "EditorIcons"),
|
|
|
+ Control::get_icon("Float", "EditorIcons"),
|
|
|
+ Control::get_icon("String", "EditorIcons"),
|
|
|
+ Control::get_icon("Vector2", "EditorIcons"),
|
|
|
+ Control::get_icon("Rect2", "EditorIcons"),
|
|
|
+ Control::get_icon("Vector3", "EditorIcons"),
|
|
|
+ Control::get_icon("Transform2D", "EditorIcons"),
|
|
|
+ Control::get_icon("Plane", "EditorIcons"),
|
|
|
+ Control::get_icon("Quat", "EditorIcons"),
|
|
|
+ Control::get_icon("Aabb", "EditorIcons"),
|
|
|
+ Control::get_icon("Basis", "EditorIcons"),
|
|
|
+ Control::get_icon("Transform", "EditorIcons"),
|
|
|
+ Control::get_icon("Color", "EditorIcons"),
|
|
|
+ Control::get_icon("NodePath", "EditorIcons"),
|
|
|
+ Control::get_icon("RID", "EditorIcons"),
|
|
|
Control::get_icon("MiniObject", "EditorIcons"),
|
|
|
- Control::get_icon("MiniDictionary", "EditorIcons"),
|
|
|
- Control::get_icon("MiniArray", "EditorIcons"),
|
|
|
- Control::get_icon("MiniRawArray", "EditorIcons"),
|
|
|
- Control::get_icon("MiniIntArray", "EditorIcons"),
|
|
|
- Control::get_icon("MiniFloatArray", "EditorIcons"),
|
|
|
- Control::get_icon("MiniStringArray", "EditorIcons"),
|
|
|
- Control::get_icon("MiniVector2Array", "EditorIcons"),
|
|
|
- Control::get_icon("MiniVector3Array", "EditorIcons"),
|
|
|
- Control::get_icon("MiniColorArray", "EditorIcons")
|
|
|
+ Control::get_icon("Dictionary", "EditorIcons"),
|
|
|
+ Control::get_icon("Array", "EditorIcons"),
|
|
|
+ Control::get_icon("PoolByteArray", "EditorIcons"),
|
|
|
+ Control::get_icon("PoolIntArray", "EditorIcons"),
|
|
|
+ Control::get_icon("PoolRealArray", "EditorIcons"),
|
|
|
+ Control::get_icon("PoolStringArray", "EditorIcons"),
|
|
|
+ Control::get_icon("PoolVector2Array", "EditorIcons"),
|
|
|
+ Control::get_icon("PoolVector3Array", "EditorIcons"),
|
|
|
+ Control::get_icon("PoolColorArray", "EditorIcons")
|
|
|
};
|
|
|
|
|
|
List<StringName> var_names;
|