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

Revived globe, compatible with OsgEarth 2.7 #3126

Merged
merged 5 commits into from May 29, 2016
Merged

Revived globe, compatible with OsgEarth 2.7 #3126

merged 5 commits into from May 29, 2016

Conversation

manisandro
Copy link
Member

This commit reworks the globe plugin for OsgEarth 2.7 compatibility. Various aspects of the plugin have been redesigned, among which layer management, the qgis tile source logic and the settings dialog.

@m-kuhn
Copy link
Member

m-kuhn commented May 28, 2016

I think it would be good to remove all the osg sip files, the work is unfinished and would better fit into the scope of osg (or osgEarth) packages instead.

@@ -194,7 +194,7 @@ bool QgsRectangle::contains( const QgsPoint &p ) const
ymin <= p.y() && p.y() <= ymax;
}

void QgsRectangle::combineExtentWith( QgsRectangle * rect )
void QgsRectangle::combineExtentWith( const QgsRectangle * rect )
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this should take a const reference instead of a pointer.

Copy link
Member Author

Choose a reason for hiding this comment

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

Better yes, but is it allowed to alter the API like that?

Copy link
Collaborator

Choose a reason for hiding this comment

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

It's ok - it doesn't break the python API, which is all the freeze applies to

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.

None yet

3 participants