mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-18 06:31:02 +00:00
fix msvc warnings
This commit is contained in:
parent
d2192f0d16
commit
541a4c81ae
@ -489,7 +489,7 @@ createOsdMesh(const std::string &shape, int level, Scheme scheme = kCatmark)
|
||||
}
|
||||
|
||||
hmesh->SetFVarInterpolateBoundaryMethod((OsdHbrMesh::InterpolateBoundaryMethod)g_fvarBoundary);
|
||||
hmesh->SetFVarPropagateCorners(g_fvarPropagateCorners);
|
||||
hmesh->SetFVarPropagateCorners(g_fvarPropagateCorners != 0);
|
||||
|
||||
delete g_mesh;
|
||||
g_mesh = NULL;
|
||||
@ -1303,7 +1303,7 @@ initHUD()
|
||||
g_fvarBoundary == OsdHbrMesh::k_InterpolateBoundaryAlwaysSharp,
|
||||
350, 70, callbackBoundary, OsdHbrMesh::k_InterpolateBoundaryAlwaysSharp, 'b');
|
||||
|
||||
g_hud.AddCheckBox("Propagate corners (C)", g_fvarPropagateCorners,
|
||||
g_hud.AddCheckBox("Propagate corners (C)", g_fvarPropagateCorners != 0,
|
||||
350, 110, callbackPropagateCorners, 0, 'c');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user