You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Changing map layer opacity level via map layer opacity dialog fail when 3D view is activated.
To Reproduce
Steps to reproduce the behavior:
Launch wxGUI
Display some raster map e.g. d.rast elevation
Switch from the 2D view to the 3D view
Right mouse click on the elevation raster map layer to invoke layer menu
From the layer menu choose "Change opacity level to launch dialog"
Change opacity level for raster map layer and hit Apply or Ok button
See error
Traceback (most recent call last):
File
"/usr/lib64/grass83/gui/wxpython/gui_core/dialogs.py", line
1885, in OnApply
self.applyOpacity.emit(value=self.GetOpacity())
File
"/usr/lib64/grass83/etc/python/grass/pydispatch/signal.py",
line 233, in emit
dispatcher.send(signal=self, *args, **kwargs)
File "/usr/lib64/grass83/etc/python/grass/pydispatch/dispa
tcher.py", line 344, in send
response = robustapply.robustApply(
File "/usr/lib64/grass83/etc/python/grass/pydispatch/robus
tapply.py", line 60, in robustApply
return receiver(*arguments, **named)
File "/usr/lib64/grass83/gui/wxpython/lmgr/layertree.py",
line 1205, in <lambda>
lambda value: self.ChangeLayerOpacity(
File "/usr/lib64/grass83/gui/wxpython/lmgr/layertree.py",
line 1243, in ChangeLayerOpacity
self.GetMapDisplay().GetWindow().UpdateMap(
TypeError
:
UpdateMap() got an unexpected keyword argument
'renderVector'
Expected behavior
We don't need show layer opacity dialog when 3D view is activated for map layer, because map layer opacity level in the 3d view is changed via 3D view pane -> Data page (tab) -> Surface attributes -> Transparency setting.
System description:
Operating System: all
GRASS GIS version: all
The text was updated successfully, but these errors were encountered:
Describe the bug
Changing map layer opacity level via map layer opacity dialog fail when 3D view is activated.
To Reproduce
Steps to reproduce the behavior:
d.rast elevation
Expected behavior
We don't need show layer opacity dialog when 3D view is activated for map layer, because map layer opacity level in the 3d view is changed via 3D view pane -> Data page (tab) -> Surface attributes -> Transparency setting.
System description:
The text was updated successfully, but these errors were encountered: