mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-09 00:00:18 +00:00
Fixed MSVC warning/error regarding use of bool in expression
This commit is contained in:
parent
cd3faaf33c
commit
ff9d936ee8
@ -626,7 +626,7 @@ PatchBuilder::IsPatchRegular(int levelIndex, Index faceIndex, int fvc) const {
|
||||
// closer inspection of the single irregular feature:
|
||||
//
|
||||
bool mayHaveIrregFaces = (_schemeRegFaceSize == 4);
|
||||
bool needsExtraIsoLevel = fCompVTag._xordinary && mayHaveIrregFaces;
|
||||
int needsExtraIsoLevel = fCompVTag._xordinary && mayHaveIrregFaces;
|
||||
|
||||
bool featureIsIsolated = levelIndex > needsExtraIsoLevel;
|
||||
if (featureIsIsolated) {
|
||||
|
Loading…
Reference in New Issue
Block a user