mirror of
https://github.com/huderlem/porymap.git
synced 2026-03-21 17:45:44 -05:00
Fix map image export regression
This commit is contained in:
parent
79e935f8ac
commit
948aaeb2bf
|
|
@ -69,9 +69,7 @@ QPixmap MapConnection::render() const {
|
|||
}
|
||||
|
||||
QImage MapConnection::renderImage() const {
|
||||
render();
|
||||
auto map = targetMap();
|
||||
return (map && map->layout()) ? map->layout()->image : QImage();
|
||||
return render().toImage();
|
||||
}
|
||||
|
||||
// Get the position of the target map relative to its parent map.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user