From 5dcde83f22de6d8980af35d2dd7f87317e06afa4 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 14 Jun 2022 19:51:11 +0200 Subject: [PATCH] Fix build --- Source/Engine/Visject/ShaderGraphValue.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Source/Engine/Visject/ShaderGraphValue.h b/Source/Engine/Visject/ShaderGraphValue.h index d6cd89730..e0fdb9d95 100644 --- a/Source/Engine/Visject/ShaderGraphValue.h +++ b/Source/Engine/Visject/ShaderGraphValue.h @@ -113,6 +113,16 @@ public: { } + /// + /// Initializes a new instance of the struct. + /// + /// The value. + explicit ShaderGraphValue(const double value) + : Type(VariantType::Types::Float) + , Value(StringUtils::ToString(value)) + { + } + /// /// Initializes a new instance of the struct. ///