temp fix: 编译不通过的问题
为PaintingUtil中的transformToPainting函数临时添加了返回值,需要在后续修改TaoZhang-Branch
parent
e3217aa134
commit
acd25b4964
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue