orange: cleaning up / (msvc) compile fixes to the new editnla functions (experimental / made for baking and AvailRot/Loc keying methods)
This commit is contained in:
@@ -132,6 +132,9 @@ struct bActionChannel *get_action_channel(struct bAction *act, const char *name
|
||||
*/
|
||||
struct bActionChannel *verify_action_channel(struct bAction *act, const char *name);
|
||||
|
||||
/* baking */
|
||||
struct bAction *bake_obIPO_to_action(struct Object *ob);
|
||||
|
||||
/* exported for game engine */
|
||||
void blend_poses(struct bPose *dst, struct bPose *src, float srcweight, short mode);
|
||||
void extract_pose_from_pose(struct bPose *pose, const struct bPose *src);
|
||||
|
||||
@@ -54,6 +54,8 @@ void reset_action_strips(int val);
|
||||
void synchronize_action_strips(void);
|
||||
void snap_action_strips(void);
|
||||
|
||||
/* Baking */
|
||||
void bake_all_to_action(void);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -69,6 +69,7 @@
|
||||
#include "BKE_library.h"
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_utildefines.h"
|
||||
#include "BKE_object.h" /* for where_is_object in obanim -> action baking */
|
||||
|
||||
#include "BIF_butspace.h"
|
||||
#include "BIF_editaction.h"
|
||||
|
||||
@@ -1847,8 +1847,8 @@ static void add_nla_block_by_name(char name[32], Object *ob, short hold, short a
|
||||
void bake_all_to_action(void)
|
||||
{
|
||||
Object *ob;
|
||||
bAction *newAction=NULL;
|
||||
Ipo *ipo=NULL;
|
||||
bAction *newAction;
|
||||
Ipo *ipo;
|
||||
ID *id;
|
||||
short hold, add;
|
||||
float repeat;
|
||||
|
||||
Reference in New Issue
Block a user