crash fixed
This commit is contained in:
parent
35a0d63b5a
commit
4888fcc5ba
|
@ -38,7 +38,7 @@ inline Node* qskNode( QSGNode* parentNode, quint8 role )
|
|||
{
|
||||
using namespace QskSGNode;
|
||||
|
||||
auto node = static_cast< Node* > ( findChildNode( parentNode, ShadowRole ) );
|
||||
auto node = static_cast< Node* > ( findChildNode( parentNode, role ) );
|
||||
|
||||
if ( node == nullptr )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue