From fa67b46c042ed4df97102dabf9f1e7bc454b2acb Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Fri, 9 Nov 2012 21:51:45 +0200 Subject: Allow Vanessa's texture filtering / mipmap patch to work on models, as well as all other node types Initialize m_bone_posrot too Update pos_translator for attached players, which should fix a bug noticed with carts where a detached player would travel from the detachment spot to where it was detached Don't make attachments possible to right-click either Properly apply object and text visibility for local attachments, and fix them showing when they shouldn't --- src/content_sao.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/content_sao.cpp') diff --git a/src/content_sao.cpp b/src/content_sao.cpp index 963e4b43a..59f6c3c64 100644 --- a/src/content_sao.cpp +++ b/src/content_sao.cpp @@ -579,10 +579,8 @@ std::string LuaEntitySAO::getClientInitializationData() os< >::const_iterator ii = m_animation_bone.begin(); ii != m_animation_bone.end(); ++ii){ - os< >::const_iterator ii = m_animation_bone.begin(); ii != m_animation_bone.end(); ++ii){ + os<getLua(); scriptapi_luaentity_rightclick(L, m_id, clicker); } @@ -976,10 +977,8 @@ std::string PlayerSAO::getClientInitializationData() os< >::const_iterator ii = m_animation_bone.begin(); ii != m_animation_bone.end(); ++ii){ - os< >::const_iterator ii = m_animation_bone.begin(); ii != m_animation_bone.end(); ++ii){ + os<