Skip to content

Commit

Permalink
Fix texture scalar UI name (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmwsharp authored Feb 16, 2024
1 parent acc6afc commit 17c2217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/surface_scalar_quantity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ SurfaceTextureScalarQuantity::SurfaceTextureScalarQuantity(std::string name, Sur
SurfaceParameterizationQuantity& param_, size_t dimX_,
size_t dimY_, const std::vector<float>& values_,
ImageOrigin origin_, DataType dataType_)
: SurfaceScalarQuantity(name, mesh_, "vertex", values_, dataType_), param(param_), dimX(dimX_), dimY(dimY_),
: SurfaceScalarQuantity(name, mesh_, "texture", values_, dataType_), param(param_), dimX(dimX_), dimY(dimY_),
imageOrigin(origin_) {
values.setTextureSize(dimX, dimY);
values.ensureHostBufferPopulated();
Expand Down

0 comments on commit 17c2217

Please sign in to comment.