Skip to content
Permalink
Browse files

Add sip casting

  • Loading branch information
nyalldawson committed May 7, 2020
1 parent 0ca6301 commit 82cc5a19cc6a58499b902cd81f11b843c6badb4e
@@ -35,6 +35,10 @@ how an individual QgsMapLayer behaves in a temporal context, e.g. while animatin
{
sipType = sipType_QgsMeshLayerTemporalProperties;
}
else if ( qobject_cast<QgsVectorLayerTemporalProperties *>( sipCpp ) )
{
sipType = sipType_QgsVectorLayerTemporalProperties;
}
else
{
sipType = 0;
@@ -53,6 +53,10 @@ class CORE_EXPORT QgsMapLayerTemporalProperties : public QgsTemporalProperty
{
sipType = sipType_QgsMeshLayerTemporalProperties;
}
else if ( qobject_cast<QgsVectorLayerTemporalProperties *>( sipCpp ) )
{
sipType = sipType_QgsVectorLayerTemporalProperties;
}
else
{
sipType = 0;

0 comments on commit 82cc5a1

Please sign in to comment.
You can’t perform that action at this time.