Map Viewer crashes with AttributeError: 'x1' missing on Blender 4.2
Author: robbolomoCreated Jun 2, 2026Updated Jun 2, 2026
Blender version: 4.2 LTS BlenderGIS version: 2.2.15 OS: macOS (Apple Silicon / Intel)
Steps to reproduce:
- Enable BlenderGIS
- Go to GIS → Web geodata → Basemap / Map Viewer
- Start Map Viewer in 3D Viewport
- Click / interact with viewport
Expected result: Map viewer should allow selecting area
Actual result: Crash with traceback:
AttributeError: 'VIEW3D_OT_map_viewer' object has no attribute 'x1'
File: operators/view3d_mapviewer.py line 792
Notes: Seems related to missing initialization of x1/y1 in modal operator. Possibly related to Blender 4.x API changes for modal events.
Source: domlysz/BlenderGIS