mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-25 04:50:06 +00:00
Fix accumulation of stencil derivatives
this time without a typo fixes #364
This commit is contained in:
parent
4236aa8c06
commit
6d9cdf90a3
@ -458,7 +458,7 @@ public:
|
||||
void AddWithWeight(Stencil const & src,
|
||||
float weight, float tan1Weight, float tan2Weight) {
|
||||
|
||||
if(weight==0.0f and tan1Weight==0.0f and tan1Weight==0.0f) {
|
||||
if(weight==0.0f and tan1Weight==0.0f and tan2Weight==0.0f) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -484,7 +484,6 @@ public:
|
||||
_alloc->PushBackVertex(_id, vertIndex,
|
||||
weight*w, tan1Weight*w, tan2Weight*w);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user