From ff9d936ee8ec78991337533269ffb11ec7ef0ec2 Mon Sep 17 00:00:00 2001 From: barry Date: Tue, 6 Nov 2018 12:38:57 -0800 Subject: [PATCH] Fixed MSVC warning/error regarding use of bool in expression --- opensubdiv/far/patchBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opensubdiv/far/patchBuilder.cpp b/opensubdiv/far/patchBuilder.cpp index 597ef066..124de715 100644 --- a/opensubdiv/far/patchBuilder.cpp +++ b/opensubdiv/far/patchBuilder.cpp @@ -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) {