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
|
const SGPropertyNode* pfar
|
||||||
= getEffectPropertyChild(effect, prop, "far");
|
= getEffectPropertyChild(effect, prop, "far");
|
||||||
if (pfar)
|
if (pfar)
|
||||||
depth->setZFar(pnear->getValue<double>());
|
depth->setZFar(pfar->getValue<double>());
|
||||||
const SGPropertyNode* pmask
|
const SGPropertyNode* pmask
|
||||||
= getEffectPropertyChild(effect, prop, "write-mask");
|
= getEffectPropertyChild(effect, prop, "write-mask");
|
||||||
if (pmask)
|
if (pmask)
|
||||||
|
Loading…
Reference in New Issue
Block a user