mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-22 11:40:08 +00:00
Fixed small bug in glFVarViewer for Loop.
- Make sure to pass in the LOOP define to the shader when dealing with Loop surfaces.
This commit is contained in:
parent
404659fffa
commit
effe6a2ed6
@ -31,6 +31,12 @@
|
||||
|
||||
----
|
||||
|
||||
Release 3.0.3
|
||||
=============
|
||||
|
||||
**Bug Fixes**
|
||||
- Fixed bug in display of Loop surfaces in glFVarViewer.
|
||||
|
||||
Release 3.0.2
|
||||
=============
|
||||
|
||||
|
@ -501,6 +501,9 @@ public:
|
||||
|
||||
if (type == Far::PatchDescriptor::QUADS) {
|
||||
ss << "#define PRIM_QUAD\n";
|
||||
} else if (type == Far::PatchDescriptor::TRIANGLES) {
|
||||
ss << "#define PRIM_TRI\n";
|
||||
ss << "#define LOOP\n";
|
||||
} else {
|
||||
ss << "#define PRIM_TRI\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user