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:
Takahito Tejima 2015-05-21 09:03:06 -07:00
parent ee04e3f7ea
commit c9150cfb23

View File

@ -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];