Add missing changes
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "Lightmap.h"
|
||||
#include "Scene.h"
|
||||
#include "Engine/Core/Log.h"
|
||||
#include "Engine/Platform/FileSystem.h"
|
||||
#include "Engine/Content/Content.h"
|
||||
#include "Engine/Level/Level.h"
|
||||
|
||||
@@ -118,7 +118,7 @@ void UIControl::Deserialize(DeserializeStream& stream, ISerializeModifier* modif
|
||||
const auto controlMember = stream.FindMember("Control");
|
||||
if (controlMember != stream.MemberEnd())
|
||||
{
|
||||
const StringAnsiView controlType(controlMember->value.GetString(), controlMember->value.GetStringLength());
|
||||
const StringAnsiView controlType(controlMember->value.GetStringAnsiView());
|
||||
const auto type = Scripting::FindClass(controlType);
|
||||
if (type != nullptr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user