forked from bartvdbraak/blender
Fix for MSVC .NET, which can't handle static const declarations in classes.
Make it static, and define in SM_Object.cpp
This commit is contained in:
parent
6f4272a200
commit
0f447ac5a8
@ -267,9 +267,7 @@ public:
|
||||
private:
|
||||
|
||||
// Tweak parameters
|
||||
static const MT_Scalar ImpulseThreshold = -10.;
|
||||
static const MT_Scalar FixThreshold = 0.01;
|
||||
static const MT_Scalar FixVelocity = 0.01;
|
||||
static MT_Scalar ImpulseThreshold;
|
||||
|
||||
// return the actual linear_velocity of this object this
|
||||
// is the addition of m_combined_lin_vel and m_lin_vel.
|
||||
|
@ -49,6 +49,7 @@
|
||||
|
||||
#include "MT_MinMax.h"
|
||||
|
||||
MT_Scalar SM_Object::ImpulseThreshold = -10.;
|
||||
|
||||
SM_Object::SM_Object(
|
||||
DT_ShapeHandle shape,
|
||||
|
Loading…
Reference in New Issue
Block a user