Skip to content

Commit

Permalink
change default cmap for param islands
Browse files Browse the repository at this point in the history
  • Loading branch information
nmwsharp committed Nov 30, 2023
1 parent ccb540d commit f453642
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/polyscope/parameterization_quantity.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@ QuantityT* ParameterizationQuantity<QuantityT>::setStyle(ParamVizStyle newStyle)
exception("Cannot set parameterization visualization style to 'CHECKER_ISLANDS', no islands have been set");
newStyle = ParamVizStyle::CHECKER;
}
if (newStyle == ParamVizStyle::CHECKER_ISLANDS) {
cMap.setPassive("turbo"); // use turbo as default cmap for CHECKER_ISLANDS
}
vizStyle = newStyle;
quantity.refresh();
Expand Down

0 comments on commit f453642

Please sign in to comment.