Wed, 08 Jun 2022 23:14:55 +0300
Add model icons back into the list view
#pragma once #include "basics.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);