1
0
Fork 0

Workaround for Effects crash.

Certain systems experience memory corruption related to this
effect. There is certainly an underlying bug in effects code
(or SGExpression code), but in the short-term this avoids the
issue by fixing some bad syntax in the .eff file.

(<property> is only for boolean properties, not to read a value)
This commit is contained in:
James Turner 2014-02-15 17:55:20 +00:00
parent 69280a75c9
commit 39cc76d1d6

View file

@ -11,7 +11,7 @@ and fallback to plain transparency when the model shader is disabled.
<predicate>
<and>
<equal>
<property>/sim/rendering/shaders/model</property>
<float-property>/sim/rendering/shaders/model</float-property>
<value type="int">0</value>
</equal>
<or>