diff options
Diffstat (limited to 'Magic2/UVMapView.cpp')
-rw-r--r-- | Magic2/UVMapView.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Magic2/UVMapView.cpp b/Magic2/UVMapView.cpp index d775b5c..dbbf2de 100644 --- a/Magic2/UVMapView.cpp +++ b/Magic2/UVMapView.cpp @@ -73,7 +73,7 @@ UVMapView::~UVMapView() const int BATCH_SIZE = 64; -void +void UVMapView::Refresh() { video = Video::GetInstance(); @@ -180,7 +180,7 @@ UVMapView::UseMaterial(Material* m) } } -void +void UVMapView::UsePolys(List<Poly>& p) { polys.clear(); @@ -252,7 +252,7 @@ UVMapView::End() // get the model: if (!nmarks || !material || !material->tex_diffuse) return; - + // if not adding to selection: if (select_mode == SELECT_REPLACE) { Clear(); @@ -425,7 +425,7 @@ UVMapView::IsSelected(Poly* poly, WORD v) DWORD value = (p << 16) | v; bool contains = false; - + for (auto svi = selverts.begin(); svi != selverts.end(); ++svi) { if (*svi == value) return true; @@ -439,7 +439,7 @@ UVMapView::WillSelect(CPoint& p) { if (!material || !material->tex_diffuse) return false; - + Bitmap* bmp = material->tex_diffuse; int w = bmp->Width(); int h = bmp->Height(); |