Nyall Dawson
5e08626051
Add QgsMapLayer::isSpatial() method
...
The current approach of testing !vl || vl->geometryType() != NoGeometry
is not intuitive and has been the source of 2 recent bugs.
Replacing these tests with the new isSpatial() function makes it
immediately obvious what is being tested. It also allows for
non-spatial plugin layers to be correctly handled by overriding
this method.
2016-03-16 12:38:16 +11:00
..
2015-11-12 20:29:06 +11:00
2015-11-12 20:29:06 +11:00
2013-04-24 17:18:33 +02:00
2015-10-07 12:02:04 +11:00
2016-01-20 17:06:04 +11:00
2016-02-14 03:50:49 +01:00
2015-11-12 20:29:06 +11:00
2015-11-12 20:29:06 +11:00
2013-04-24 17:18:33 +02:00
2013-04-24 17:18:33 +02:00
2016-01-20 17:06:04 +11:00
2016-01-20 17:06:04 +11:00
2012-09-24 02:42:57 +02:00
2015-10-07 12:02:04 +11:00
2016-02-14 03:50:49 +01:00
2016-02-14 03:50:49 +01:00
2016-02-14 03:50:49 +01:00
2016-02-14 03:50:49 +01:00
2016-02-14 03:50:49 +01:00
2016-02-14 03:50:49 +01:00
2015-07-29 11:52:14 +02:00
2016-02-02 19:47:21 +11:00
2016-01-05 11:16:15 +11:00
2016-01-26 14:24:45 +11:00
2016-03-16 12:38:16 +11:00
2015-11-12 20:29:06 +11:00
2016-01-22 18:45:45 +11:00
2016-02-14 03:50:49 +01:00
2012-09-24 02:42:57 +02:00
2016-02-14 03:50:49 +01:00
2016-02-14 03:50:49 +01:00
2015-11-12 20:29:06 +11:00
2015-11-11 23:22:51 +01:00
2016-02-14 03:50:49 +01:00
2016-02-14 03:50:49 +01:00
2015-10-07 12:02:04 +11:00
2014-01-26 18:36:29 +01:00
2016-01-20 17:06:04 +11:00
2016-01-20 17:06:04 +11:00
2016-02-14 03:50:49 +01:00