diff --git a/source/game/PropStatic.cpp b/source/game/PropStatic.cpp index 77f9b234fedc132b022f36cd4992a145213a114e..5317ded5b23fed5d2d27a66da60b988bc55793a0 100644 --- a/source/game/PropStatic.cpp +++ b/source/game/PropStatic.cpp @@ -13,6 +13,12 @@ See the license in LICENSE BEGIN_PROPTABLE(CPropStatic) //! Масштаб модели DEFINE_FIELD_FLOATFN(m_fScale, 0, "scale", "Scale", onSetScale, EDITOR_TEXTFIELD) + + + DEFINE_FIELD_BOOL(m_useTrimeshPhysics, 0, "use_trimesh", "Use trimesh physics", EDITOR_COMBOBOX) + COMBO_OPTION("Yes", "1") + COMBO_OPTION("No", "0") + EDITOR_COMBO_END() END_PROPTABLE() REGISTER_ENTITY(CPropStatic, prop_static); diff --git a/source/game/PropStatic.h b/source/game/PropStatic.h index 2bdba86f1ff2fe256808bccb5ec8466ff1149ce4..38114fcb3e3045cff215b055e258058d7c90a12c 100644 --- a/source/game/PropStatic.h +++ b/source/game/PropStatic.h @@ -33,7 +33,7 @@ public: protected: void onSetScale(float fScale); float m_fScale = 1.0f; - bool m_useTrimeshPhysics = true; + bool m_useTrimeshPhysics = false; }; #endif