Tue, 07 Jun 2022 21:35:29 +0300
Move editing modes tool bar, tool options widget stack and model list view into the main window
#pragma once #include "main.h" #include "model.h" #include "gl/common.h" struct GetPolygonsContext { ModelId modelId; class DocumentManager* documents; }; struct PolygonCache { std::vector<gl::Polygon> cachedPolygons; bool needRecache = true; }; const std::vector<gl::Polygon>& getCachedPolygons( PolygonCache* cache, Model* model, class DocumentManager* documents);