File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 5
5
-----
6
6
7
7
- ShaderNetworkAlgo : Fixed crash caused by cyclic connections in `removeUnusedShaders()`.
8
+ - ShaderStateComponent : Fixed GL rendering failures caused by unsupported values for texture parameters.
8
9
9
10
10.5.7.1 (relative to 10.5.7.0)
10
11
========
Original file line number Diff line number Diff line change @@ -139,7 +139,14 @@ class ShaderStateComponent::Implementation : public IECore::RefCounted
139
139
it->second ->typeId () == IECore::SplinefColor3fData::staticTypeId ()
140
140
)
141
141
{
142
- texture = IECore::runTimeCast<const Texture>( CachedConverter::defaultCachedConverter ()->convert ( it->second .get () ) );
142
+ try
143
+ {
144
+ texture = IECore::runTimeCast<const Texture>( CachedConverter::defaultCachedConverter ()->convert ( it->second .get () ) );
145
+ }
146
+ catch ( const std::exception &e )
147
+ {
148
+ IECore::msg ( IECore::Msg::Error, " ShaderStateComponent" , e.what () );
149
+ }
143
150
}
144
151
else if ( it->second ->typeId () == IECore::StringData::staticTypeId () )
145
152
{
You can’t perform that action at this time.
0 commit comments