diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2010-01-07 08:23:54 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2010-01-07 08:23:54 +0300 |
commit | 4463597dcd382a84be8a2a59e03adcfe149c23b2 (patch) | |
tree | 098daae0477402eeb106882acef1b6d7a691c9af /source | |
parent | f8489ea1e614ff0320f440cea3b933b34f88c16e (diff) |
PyDoc updated for Rasterizer setEyeSeparation and setFocalLength + blenderplayer building again.
stubs.c update patch by Mitchel Stokes - Moguri
Diffstat (limited to 'source')
-rw-r--r-- | source/blenderplayer/bad_level_call_stubs/stubs.c | 2 | ||||
-rw-r--r-- | source/gameengine/PyDoc/Rasterizer.py | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/source/blenderplayer/bad_level_call_stubs/stubs.c b/source/blenderplayer/bad_level_call_stubs/stubs.c index 009966904c7..eddd85c6444 100644 --- a/source/blenderplayer/bad_level_call_stubs/stubs.c +++ b/source/blenderplayer/bad_level_call_stubs/stubs.c @@ -159,6 +159,7 @@ void ED_mesh_geometry_add(struct Mesh *mesh, struct ReportList *reports, int ver void ED_mesh_material_add(struct Mesh *me, struct Material *ma){} void ED_mesh_transform(struct Mesh *me, float *mat){} void ED_mesh_update(struct Mesh *mesh, struct bContext *C){} +int ED_mesh_color_add(struct bContext *C, struct Scene *scene, struct Object *ob, struct Mesh *me){return 0;} int ED_mesh_uv_texture_add(struct bContext *C, struct Scene *scene, struct Object *ob, struct Mesh *me){return 0;} void ED_object_apply_obmat(struct Object *ob){} void ED_object_constraint_dependency_update(struct Scene *scene, struct Object *ob){} @@ -206,6 +207,7 @@ void uiTemplateID(struct uiLayout *layout, struct bContext *C, struct PointerRNA struct uiLayout *uiTemplateModifier(struct uiLayout *layout, struct PointerRNA *ptr){return (struct uiLayout *) NULL;} struct uiLayout *uiTemplateConstraint(struct uiLayout *layout, struct PointerRNA *ptr){return (struct uiLayout *) NULL;} void uiTemplatePreview(struct uiLayout *layout, struct ID *id, struct ID *parent, struct MTex *slot){} +void uiTemplateIDPreview(struct uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, char *propname, char *newop, char *openop, char *unlinkop, int rows, int cols){} void uiTemplateCurveMapping(struct uiLayout *layout, struct CurveMapping *cumap, int type, int compact){} void uiTemplateColorRamp(struct uiLayout *layout, struct ColorBand *coba, int expand){} void uiTemplateLayers(struct uiLayout *layout, struct PointerRNA *ptr, char *propname){} diff --git a/source/gameengine/PyDoc/Rasterizer.py b/source/gameengine/PyDoc/Rasterizer.py index bafcfece473..8fd4d506bde 100644 --- a/source/gameengine/PyDoc/Rasterizer.py +++ b/source/gameengine/PyDoc/Rasterizer.py @@ -136,7 +136,7 @@ def disableMist(): def setEyeSeparation(eyesep): """ - Sets the eye separation for stereo mode. + Sets the eye separation for stereo mode. Usually Focal Length/30 provides a confortable value. @param eyesep: The distance between the left and right eye. @type eyesep: float @@ -151,7 +151,7 @@ def getEyeSeparation(): def setFocalLength(focallength): """ - Sets the focal length for stereo mode. + Sets the focal length for stereo mode. It uses the current camera focal length as initial value. @param focallength: The focal length. @type focallength: float |