Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global index #4

Merged
merged 2 commits into from
Oct 5, 2021
Merged

Conversation

vcloarec
Copy link

@vcloarec vcloarec commented Oct 5, 2021

some changes to take account of the global index of dataset group instead of native index.
I remove the disconnect/connect because no need of them anymore: signal is emitted only if there are new extra dataset group added and only for this new groups.
Also fix the temporal properties when the layer source is break.

@@ -1726,16 +1725,17 @@ bool QgsMeshLayer::setDataProvider( QString const &provider, const QgsDataProvid
mDataSource = mDataSource + QStringLiteral( "&uid=%1" ).arg( QUuid::createUuid().toString() );
}

if ( flags & QgsDataProvider::FlagLoadDefaultStyle )
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need to check FlagLoadDefaultStyle -- if it's true we should always reset the style

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, ignore me

@nyalldawson nyalldawson merged commit 7bdb74a into nyalldawson:fix_mesh_datasource Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants