summaryrefslogtreecommitdiff
path: root/assetFactory/style.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'assetFactory/style.cpp')
-rw-r--r--assetFactory/style.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/assetFactory/style.cpp b/assetFactory/style.cpp
index 8aecc71..d1d4adc 100644
--- a/assetFactory/style.cpp
+++ b/assetFactory/style.cpp
@@ -30,8 +30,8 @@ Style::applyStyle(
auto coords = mf->getTextureCoords(texture);
auto coord = coords.begin();
// Wild assumption that face is a quad and the texture should apply linearly
- for (const auto & vh : mesh.fv_range(face)) {
- mesh.set_texcoord2D(vh, *coord++);
+ for (const auto & heh : mesh.fh_range(face)) {
+ mesh.set_texcoord2D(heh, *coord++);
}
}
}