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:
a869d23
)
Fix visual='cube' size
author
Perttu Ahola
<celeron55@gmail.com>
Wed, 4 Apr 2012 15:10:10 +0000
(18:10 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Wed, 4 Apr 2012 15:10:10 +0000
(18:10 +0300)
src/content_cao.cpp
patch
|
blob
|
history
diff --git
a/src/content_cao.cpp
b/src/content_cao.cpp
index f211ff8b9ad7d2185511f8918525a9415863449d..83a2bcfd15ac1ba124812ad2235c3a41b7f992ab 100644
(file)
--- a/
src/content_cao.cpp
+++ b/
src/content_cao.cpp
@@
-781,9
+781,9
@@
public:
m_meshnode = smgr->addMeshSceneNode(mesh, NULL);
mesh->drop();
- m_meshnode->setScale(v3f(m_prop.visual_size.X
/2
,
- m_prop.visual_size.Y
/2
,
- m_prop.visual_size.X
/2
));
+ m_meshnode->setScale(v3f(m_prop.visual_size.X,
+ m_prop.visual_size.Y,
+ m_prop.visual_size.X));
u8 li = m_last_light;
setMeshColor(m_meshnode->getMesh(), video::SColor(255,li,li,li));
} else if(m_prop.visual == "wielditem"){