From 3cedec5f754b08d04095d5ebe0cd9532de011268 Mon Sep 17 00:00:00 2001 From: JFonS Date: Wed, 5 Sep 2018 00:54:35 +0200 Subject: Set uniform default values in inspector --- servers/visual/shader_language.h | 1 + 1 file changed, 1 insertion(+) (limited to 'servers/visual/shader_language.h') diff --git a/servers/visual/shader_language.h b/servers/visual/shader_language.h index e8ae099302..08c4d06992 100644 --- a/servers/visual/shader_language.h +++ b/servers/visual/shader_language.h @@ -548,6 +548,7 @@ public: static int get_cardinality(DataType p_type); static bool is_scalar_type(DataType p_type); static bool is_sampler_type(DataType p_type); + static Variant constant_value_to_variant(const Vector &p_value, DataType p_type); static void get_keyword_list(List *r_keywords); static void get_builtin_funcs(List *r_keywords); -- cgit v1.2.3