projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31f9912
)
Fix misplaced selection box in some situations
author
sapier
<Sapier at GMX dot net>
Mon, 26 May 2014 20:11:42 +0000
(22:11 +0200)
committer
sapier
<Sapier at GMX dot net>
Mon, 26 May 2014 20:47:40 +0000
(22:47 +0200)
src/drawscene.cpp
patch
|
blob
|
history
diff --git
a/src/drawscene.cpp
b/src/drawscene.cpp
index 218ddec68053de1585010456e60da20ecff228f6..f7b916a8cbd9369f243193b7bfc5066af1cecf02 100644
(file)
--- a/
src/drawscene.cpp
+++ b/
src/drawscene.cpp
@@
-401,6
+401,7
@@
void draw_plain(Camera& camera, bool show_hud, Hud& hud,
std::vector<aabb3f> hilightboxes, video::IVideoDriver* driver,
bool draw_wield_tool, Client& client, gui::IGUIEnvironment* guienv)
{
+ driver->setTransform(video::ETS_WORLD, core::IdentityMatrix);
draw_selectionbox(driver, hud, hilightboxes, show_hud);