mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-12 17:30:18 +00:00
glStencilViewer crash fix #1
use patchtables instead of patchTables (yes, quite confusing...) patchtables may be created ondemand if patchTables isn't given as an argument.
This commit is contained in:
parent
ee04e3f7ea
commit
c9150cfb23
@ -512,9 +512,9 @@ LimitStencilTablesFactory::Create(TopologyRefiner const & refiner,
|
||||
|
||||
if (handle) {
|
||||
|
||||
ConstIndexArray cvs = patchTables->GetPatchVertices(*handle);
|
||||
ConstIndexArray cvs = patchtables->GetPatchVertices(*handle);
|
||||
|
||||
patchTables->EvaluateBasis(*handle, s, t, wP, wDs, wDt);
|
||||
patchtables->EvaluateBasis(*handle, s, t, wP, wDs, wDt);
|
||||
|
||||
StencilTables const & src = *cvstencils;
|
||||
ProtoLimitStencil dst = alloc[currentStencil];
|
||||
|
Loading…
Reference in New Issue
Block a user