Comments (6)
This appears to be fixed by changing the following code starting at line 103 in operators/utils/bgis_utils.py
:
Old Code
if zoomToSelect:
overrideContext = context.copy()
overrideContext['area'] = area
overrideContext['region'] = area.regions[-1]
bpy.ops.view3d.view_selected(overrideContext)
New Code
if zoomToSelect:
with context.temp_override(area = area , region = area.regions[-1]):
bpy.ops.view3d.view_selected
but I'm guessing that a broader audit of context overrides in the plugin will be needed to make all features work in Blender 4.0.
from blendergis.
I have same problem! If you get any solution just comment below
from blendergis.
from blendergis.
I fixed as per you mentioned still the issue is not solved.
I replied to the issue with a fix for this particular error. There are probably other bugs in the plug-in of the same type, but this at least let's one import map data and conform it to elevation data.
…
On Fri, Mar 8, 2024, 11:25 AM Amey Kurade @.> wrote: I have same problem! If you get any solution just comment below — Reply to this email directly, view it on GitHub <#869 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE74XBLD6UVAOF6CWRRGOA3YXHRA7AVCNFSM6AAAAABEM7URAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBVHE4TSNRTHE . You are receiving this because you authored the thread.Message ID: @.>
from blendergis.
Thanks very much,Bro.
from blendergis.
Looking more closely at this, this bug is already fixed in the current codebase, it's just that the release version is over a year out of date.
from blendergis.
Related Issues (20)
- [basemap] Crash at zoom 22
- Question not issue
- Error when Extruding HOT 4
- Python type error while generating map plane after hitting E HOT 9
- Not Letting Me Use NASA SRTM Data And Forcing Me To Have A API Key For Open Topography
- Links to Christoph Gohlke's GDAL and Numpy packages are dead on GDAL wiki page
- Crashing with 4.02 with python errors when using control E over a new location. HOT 8
- STRM data not saved HOT 2
- [MAC] BlenderGIS 2.2.8 and Blender 4.02 not loading any of the maps HOT 5
- ValueError: 1-2 args execution context is supported HOT 3
- Non-integer randomheight value will result in crash HOT 1
- Export Shape Objects to feature not working
- Error when try to extract map HOT 4
- Error prompt when pressing the E key HOT 7
- SRTM loaded but not displaying elevations.
- export failing HOT 5
- MacOS - no basemap HOT 3
- When I deselect the plugin on Blender's plugin page and try to enable it again, I get the following error, does anyone know how to fix it?
- Blender 4.0 and 4.1.1 After loading basemap cant access any menu option HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blendergis.