We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the editor, view a different TTF component one after the other make the editor crash !
May possibly be a missmatch between deserialization and component creation: in ttftext.cpp
template <> void serialize(Archive& archive, const TTFText& value) { archive.startSerialization(TTFText::getType()); serialize(archive, "text", value.text); serialize(archive, "size", value.textSize); serialize(archive, "colors", value.colors); serialize(archive, "fontPath", value.fontPath); archive.endSerialization(); } template <> TTFText deserialize(const UnserializedObject& serializedString) { LOG_THIS(DOM); std::string type = ""; if (serializedString.isNull()) { LOG_ERROR(DOM, "Element is null"); } else { LOG_INFO(DOM, "Deserializing Sentence Text"); TTFText data; data.text = deserialize<std::string>(serializedString["text"]); data.textSize = deserialize<int>(serializedString["size"]); data.colors = deserialize<constant::Vector4D>(serializedString["colors"]); data.fontPath = deserialize<std::string>(serializedString["fontPath"]); return data; } return TTFText{}; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the editor, view a different TTF component one after the other make the editor crash !
May possibly be a missmatch between deserialization and component creation:
in ttftext.cpp
The text was updated successfully, but these errors were encountered: