temp fix: 编译不通过的问题

为PaintingUtil中的transformToPainting函数临时添加了返回值,需要在后续修改
TaoZhang-Branch
ArgonarioD 2023-03-11 23:34:13 +08:00
parent e3217aa134
commit acd25b4964
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ Painting PaintingUtil::transfromToPainting(QString jsonFilePath) {
ElementManager *elementManager = new ElementManager(jsonObj, Renderer::ElementRenderer::instance()); ElementManager *elementManager = new ElementManager(jsonObj, Renderer::ElementRenderer::instance());
LayerManager* layerManager = new LayerManager(jsonObj, elementManager); LayerManager* layerManager = new LayerManager(jsonObj, elementManager);
traverseLayTree(layerManager->getRoot(), transform, flip, painting); traverseLayTree(layerManager->getRoot(), transform, flip, painting);
// FIXME: 为了编译通过添加的返回
return painting;
} }
void PaintingUtil::traverseLayTree(LayerWrapper* nowLayer, QTransform transform, bvec2 flip, Painting& painting) { void PaintingUtil::traverseLayTree(LayerWrapper* nowLayer, QTransform transform, bvec2 flip, Painting& painting) {