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:
parent
69280a75c9
commit
39cc76d1d6
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue