diff options
author | Sukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com> | 2011-07-03 16:33:52 +0400 |
---|---|---|
committer | Sukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com> | 2011-07-03 16:33:52 +0400 |
commit | 9f99e5cc1e971acad3da44ac78123a46f208ac4b (patch) | |
tree | c22827ad7f8ba55698442a05cf25db32a6d3e20b /source/blender/collada/AnimationImporter.h | |
parent | b6c1490359964311db7ffb2b74ebc05772bf8be9 (diff) |
AnimationType Enum.
Diffstat (limited to 'source/blender/collada/AnimationImporter.h')
-rw-r--r-- | source/blender/collada/AnimationImporter.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/collada/AnimationImporter.h b/source/blender/collada/AnimationImporter.h index ca04771a63d..54ede656ea7 100644 --- a/source/blender/collada/AnimationImporter.h +++ b/source/blender/collada/AnimationImporter.h @@ -80,6 +80,13 @@ private: void fcurve_deg_to_rad(FCurve *cu); void add_fcurves_to_object(Object *ob, std::vector<FCurve*>& curves, char *rna_path, int array_index, Animation *animated); + + enum AnimationType + { + NODE_TRANSFORM, + LIGHT_COLOR, + INANIMATE + }; public: AnimationImporter(UnitConverter *conv, ArmatureImporter *arm, Scene *scene); @@ -101,7 +108,7 @@ public: std::map<COLLADAFW::UniqueId, Object*>& object_map , std::map<COLLADAFW::UniqueId, const COLLADAFW::Object*> FW_object_map); - bool is_object_animated ( const COLLADAFW::Node * node , std::map<COLLADAFW::UniqueId,const COLLADAFW::Object*> FW_object_map ) ; + AnimationType get_animation_type( const COLLADAFW::Node * node , std::map<COLLADAFW::UniqueId,const COLLADAFW::Object*> FW_object_map ) ; void Assign_transform_animations(COLLADAFW::Transformation* transform , |