I have a plugin that makes modifications to a memory layer, then calls
triggerRepaint() to refresh. Unfortunately, it doesn't refresh the
layer. If I open the Python console before making the mods, it works
from the console:
lyr = iface.activeLayer()
lyr.triggerRepaint()
If I turn off caching in Settings, I don't have a problem with my plugin.
You rendering experts have any ideas?
Thanks,
-gary
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Gary Sherman
Founder, QGIS Project
Consulting: geoapt.com
Publishing: locatepress.com
We work virtually anywhere
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer