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
Conversation
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 ) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
…ectangle::combineExtentWith(const QgsRectangle&)
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.