Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Bolsee <benoit.bolsee@online.be>2008-07-25 17:45:57 +0400
committerBenoit Bolsee <benoit.bolsee@online.be>2008-07-25 17:45:57 +0400
commita7f951f25ef47a4ac98de0270b651dc74a27670d (patch)
tree72307108dc717119b72dd40109f10509696db820 /source/gameengine/Ketsji/KX_MaterialIpoController.h
parentab44742cf36639b73f1aa2c18aa55b14ff059acd (diff)
BGE patch: approve patch #17312: Multiple material IPOs per mesh in BGE.
Diffstat (limited to 'source/gameengine/Ketsji/KX_MaterialIpoController.h')
-rw-r--r--source/gameengine/Ketsji/KX_MaterialIpoController.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/gameengine/Ketsji/KX_MaterialIpoController.h b/source/gameengine/Ketsji/KX_MaterialIpoController.h
index e76ddeefb04..4d2e258bf94 100644
--- a/source/gameengine/Ketsji/KX_MaterialIpoController.h
+++ b/source/gameengine/Ketsji/KX_MaterialIpoController.h
@@ -7,6 +7,8 @@
#include "SG_Spatial.h"
#include "KX_IInterpolator.h"
+#include "STR_String.h" //typedef dword
+
class KX_MaterialIpoController : public SG_Controller
{
public:
@@ -23,10 +25,12 @@ private:
bool m_modified;
double m_ipotime;
+ dword m_matname_hash;
public:
- KX_MaterialIpoController() :
+ KX_MaterialIpoController(dword matname_hash) :
m_modified(true),
- m_ipotime(0.0)
+ m_ipotime(0.0),
+ m_matname_hash(matname_hash)
{}
virtual ~KX_MaterialIpoController();
virtual SG_Controller* GetReplica(class SG_Node* destnode);