diff --git a/sample_project/.nostalgia/type_descriptors/net.drinkingtea.nostalgia.core.NostalgiaGraphic b/sample_project/.nostalgia/type_descriptors/net.drinkingtea.nostalgia.core.NostalgiaGraphic index 0b8a38ff..7a070659 100644 Binary files a/sample_project/.nostalgia/type_descriptors/net.drinkingtea.nostalgia.core.NostalgiaGraphic and b/sample_project/.nostalgia/type_descriptors/net.drinkingtea.nostalgia.core.NostalgiaGraphic differ diff --git a/sample_project/.nostalgia/type_descriptors/net.drinkingtea.nostalgia.core.NostalgiaPalette b/sample_project/.nostalgia/type_descriptors/net.drinkingtea.nostalgia.core.NostalgiaPalette index e02ec9fd..1566a340 100644 Binary files a/sample_project/.nostalgia/type_descriptors/net.drinkingtea.nostalgia.core.NostalgiaPalette and b/sample_project/.nostalgia/type_descriptors/net.drinkingtea.nostalgia.core.NostalgiaPalette differ diff --git a/src/nostalgia/studio/lib/project.hpp b/src/nostalgia/studio/lib/project.hpp index 2bd4314c..00a362a8 100644 --- a/src/nostalgia/studio/lib/project.hpp +++ b/src/nostalgia/studio/lib/project.hpp @@ -102,8 +102,10 @@ void Project::writeObj(QString path, T *obj) const { // write type descriptor const auto type = ox::buildTypeDef(obj); - const auto typeOut = ox::writeClaw(type.value, ox::ClawFormat::Organic); + auto typeOut = ox::writeClaw(type.value, ox::ClawFormat::Organic); oxThrowError(typeOut); + // erase garbage last character + typeOut.value.pop_back(); // write to FS QString descPath = "/.nostalgia/type_descriptors/"; const auto typePath = descPath + type.value->typeName.c_str();