forked from Mirrorlandia_minetest/minetest
Fix misplaced selection box in some situations
This commit is contained in:
parent
31f9912e9e
commit
ab75b1b923
@ -401,6 +401,7 @@ void draw_plain(Camera& camera, bool show_hud, Hud& hud,
|
|||||||
std::vector<aabb3f> hilightboxes, video::IVideoDriver* driver,
|
std::vector<aabb3f> hilightboxes, video::IVideoDriver* driver,
|
||||||
bool draw_wield_tool, Client& client, gui::IGUIEnvironment* guienv)
|
bool draw_wield_tool, Client& client, gui::IGUIEnvironment* guienv)
|
||||||
{
|
{
|
||||||
|
driver->setTransform(video::ETS_WORLD, core::IdentityMatrix);
|
||||||
|
|
||||||
draw_selectionbox(driver, hud, hilightboxes, show_hud);
|
draw_selectionbox(driver, hud, hilightboxes, show_hud);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user