Fix a copy/paste typo in Effect depth attributes
This commit is contained in:
parent
6780a0c8d4
commit
0d1ddc5f44
@ -1157,7 +1157,7 @@ struct DepthBuilder : public PassAttributeBuilder
|
||||
const SGPropertyNode* pfar
|
||||
= getEffectPropertyChild(effect, prop, "far");
|
||||
if (pfar)
|
||||
depth->setZFar(pnear->getValue<double>());
|
||||
depth->setZFar(pfar->getValue<double>());
|
||||
const SGPropertyNode* pmask
|
||||
= getEffectPropertyChild(effect, prop, "write-mask");
|
||||
if (pmask)
|
||||
|
Loading…
Reference in New Issue
Block a user