svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r20937:21899
[blender.git] / source / gameengine / Converter / BL_ArmatureObject.h
index fdf961d56942e1c198d72acba26500280995c2a7..684d89d492b3eaa10081012e59a8c56e543132c2 100644 (file)
@@ -51,7 +51,8 @@ public:
        BL_ArmatureObject(
                void* sgReplicationInfo,
                SG_Callbacks callbacks,
-               Object *armature
+               Object *armature,
+               Scene *scene
        );
        virtual ~BL_ArmatureObject();
 
@@ -68,6 +69,7 @@ public:
        
        struct bArmature * GetArmature() { return m_armature; }
        const struct bArmature * GetArmature() const { return m_armature; }
+       const struct Scene * GetScene() const { return m_scene; }
        
        Object* GetArmatureObject() {return m_objArma;}
 
@@ -85,6 +87,7 @@ protected:
        struct bPose            *m_pose;
        struct bPose            *m_armpose;
        struct bPose            *m_framePose;
+       struct Scene            *m_scene; // need for where_is_pose 
        double  m_lastframe;
        class BL_ActionActuator *m_activeAct;
        short   m_activePriority;