diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-17 11:08:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-17 11:08:09 +0400 |
commit | db44a92a11bc1dff94f8aa162c19429a1fdafa5f (patch) | |
tree | 6df872547dada2786a99ceb6b33442e773425fdb /source/blenderplayer | |
parent | 1cfbde0eb469f7d827b73667d7406eddc0065ceb (diff) |
pydrivers: 'frame' is now in the driver namespace,
- no need to link to scenes when using a frame from the pydriver, this made linking rigs for eg, quite messy.
- advantage that we get subframe values (where scenes from was fixed to a whole number).
Diffstat (limited to 'source/blenderplayer')
-rw-r--r-- | source/blenderplayer/bad_level_call_stubs/stubs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blenderplayer/bad_level_call_stubs/stubs.c b/source/blenderplayer/bad_level_call_stubs/stubs.c index abc5307b9f6..b299de0d897 100644 --- a/source/blenderplayer/bad_level_call_stubs/stubs.c +++ b/source/blenderplayer/bad_level_call_stubs/stubs.c @@ -454,7 +454,7 @@ void BPY_text_free_code(struct Text *text) {} void BPY_id_release(struct Text *text) {} int BPY_context_member_get(struct Context *C, const char *member, struct bContextDataResult *result) { return 0; } void BPY_pyconstraint_target(struct bPythonConstraint *con, struct bConstraintTarget *ct) {} -float BPY_driver_exec(struct ChannelDriver *driver) {return 0.0f;} /* might need this one! */ +float BPY_driver_exec(struct ChannelDriver *driver, const float evaltime) {return 0.0f;} /* might need this one! */ void BPY_DECREF(void *pyob_ptr) {} void BPY_pyconstraint_exec(struct bPythonConstraint *con, struct bConstraintOb *cob, struct ListBase *targets) {} void macro_wrapper(struct wmOperatorType *ot, void *userdata) {} ; |