GridMapEditorPlugin: set_selected_palette_item
does not update the cursor mesh
#100721
Labels
set_selected_palette_item
does not update the cursor mesh
#100721
Tested versions
System information
Godot v4.4.dev7 - Windows 11 (build 22631) - Multi-window, 1 monitor - Vulkan (Mobile) - dedicated AMD Radeon RX 6700 XT (Advanced Micro Devices, Inc.; 32.0.12011.1036) - AMD Ryzen 5 5600X 6-Core Processor (12 threads)
Issue description
GH-99639 exposed the
GridMapEditorPlugin
class to scripts.However, the
set_selected_palette_item
function from this class does not update the cursor mesh as it would when selecting from the MeshLibrary palette.The palette selection updates correctly and you will paint with the correct mesh item, but the cursor will still show the old mesh.
Steps to reproduce
Godot_v4.4-dev7_win64_B7kcDDyHop.mp4
set_selected_palette_item
It should be the same color as your selection in the tool panel.
Minimal reproduction project (MRP)
godot-gridmap-cursor.zip
The text was updated successfully, but these errors were encountered: