[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25791] trunk/blender/source: PyDoc updated for Rasterizer setEyeSeparation and setFocalLength + blenderplayer building again .

Dalai Felinto dfelinto at gmail.com
Thu Jan 7 06:23:55 CET 2010


Revision: 25791
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25791
Author:   dfelinto
Date:     2010-01-07 06:23:54 +0100 (Thu, 07 Jan 2010)

Log Message:
-----------
PyDoc updated for Rasterizer setEyeSeparation and setFocalLength + blenderplayer building again.
stubs.c update patch by Mitchel Stokes - Moguri

Modified Paths:
--------------
    trunk/blender/source/blenderplayer/bad_level_call_stubs/stubs.c
    trunk/blender/source/gameengine/PyDoc/Rasterizer.py

Modified: trunk/blender/source/blenderplayer/bad_level_call_stubs/stubs.c
===================================================================
--- trunk/blender/source/blenderplayer/bad_level_call_stubs/stubs.c	2010-01-07 03:13:26 UTC (rev 25790)
+++ trunk/blender/source/blenderplayer/bad_level_call_stubs/stubs.c	2010-01-07 05:23:54 UTC (rev 25791)
@@ -159,6 +159,7 @@
 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 @@
 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){}

Modified: trunk/blender/source/gameengine/PyDoc/Rasterizer.py
===================================================================
--- trunk/blender/source/gameengine/PyDoc/Rasterizer.py	2010-01-07 03:13:26 UTC (rev 25790)
+++ trunk/blender/source/gameengine/PyDoc/Rasterizer.py	2010-01-07 05:23:54 UTC (rev 25791)
@@ -136,7 +136,7 @@
 	
 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 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





More information about the Bf-blender-cvs mailing list