fixed func_static model dragging

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@92 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
spog 2006-07-22 11:22:54 +00:00
parent c7987cc0be
commit e986a9d479
2 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,10 @@
This is the changelog for developers, != changelog for the end user This is the changelog for developers, != changelog for the end user
that we distribute with the binaries. (see changelog) that we distribute with the binaries. (see changelog)
22/07/2006
SPoG
- Fixed doom3 func_static with model not appearing to move when dragged.
09/07/2006 09/07/2006
Shaderman Shaderman
- Updated win32 libxml2 package to 2.6.24. - Updated win32 libxml2 package to 2.6.24.

View file

@ -228,8 +228,8 @@ private:
m_transform.localToParent() = g_matrix4_identity; m_transform.localToParent() = g_matrix4_identity;
if(isModel()) if(isModel())
{ {
matrix4_translate_by_vec3(m_transform.localToParent(), m_originKey.m_origin); matrix4_translate_by_vec3(m_transform.localToParent(), m_origin);
matrix4_multiply_by_matrix4(m_transform.localToParent(), rotation_toMatrix(m_rotationKey.m_rotation)); matrix4_multiply_by_matrix4(m_transform.localToParent(), rotation_toMatrix(m_rotation));
} }
m_transformChanged(); m_transformChanged();
if(!isModel()) if(!isModel())