1
0
镜像来自 https://github.com/luanti-org/luanti.git synced 2025-12-15 03:28:28 +01:00

Fix misplaced selection box in some situations

This commit is contained in:
sapier
2014-05-26 22:11:42 +02:00
父節點 31f9912e9e
當前提交 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);