[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11400] trunk/blender/source/blender: Draw .py - typo
Campbell Barton
cbarton at metavr.com
Sat Jul 28 11:26:53 CEST 2007
Revision: 11400
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11400
Author: campbellbarton
Date: 2007-07-28 11:26:53 +0200 (Sat, 28 Jul 2007)
Log Message:
-----------
Draw.py - typo
sceneSequence.h - bad type check, dosnt matter really since that define isnt used yet.
SurfNurb.c - was using lib hashing function and surfNurbs not a lib! (own mistake)
buttons_editing.c - Curves PathLen button was MAXFRAMEF and pathlen is a short so the button wrapped around.
Modified Paths:
--------------
trunk/blender/source/blender/python/api2_2x/SurfNurb.c
trunk/blender/source/blender/python/api2_2x/doc/Draw.py
trunk/blender/source/blender/python/api2_2x/sceneSequence.h
trunk/blender/source/blender/src/buttons_editing.c
Modified: trunk/blender/source/blender/python/api2_2x/SurfNurb.c
===================================================================
--- trunk/blender/source/blender/python/api2_2x/SurfNurb.c 2007-07-28 09:00:15 UTC (rev 11399)
+++ trunk/blender/source/blender/python/api2_2x/SurfNurb.c 2007-07-28 09:26:53 UTC (rev 11400)
@@ -772,7 +772,7 @@
/* More standard operations (here for binary compatibility) */
- ( hashfunc ) GenericLib_hash, /* hashfunc tp_hash; */
+ NULL, /* hashfunc tp_hash; */
NULL, /* ternaryfunc tp_call; */
NULL, /* reprfunc tp_str; */
NULL, /* getattrofunc tp_getattro; */
Modified: trunk/blender/source/blender/python/api2_2x/doc/Draw.py
===================================================================
--- trunk/blender/source/blender/python/api2_2x/doc/Draw.py 2007-07-28 09:00:15 UTC (rev 11399)
+++ trunk/blender/source/blender/python/api2_2x/doc/Draw.py 2007-07-28 09:26:53 UTC (rev 11400)
@@ -249,7 +249,7 @@
@note: Within this popup, Redraw events and the registered button callback will not work.
For buttons to run events, use per button callbacks.
@note: OpenGL drawing functions wont work within this popup, for text use L{Label} rather then L{Text}
- @warning: L{Menu} will not work properly within a UIBlock, this is a limitation with blenders user user interface internals.
+ @warning: L{Menu} will not work properly within a UIBlock, this is a limitation with blenders user interface internals.
"""
def Register(draw = None, event = None, button = None):
Modified: trunk/blender/source/blender/python/api2_2x/sceneSequence.h
===================================================================
--- trunk/blender/source/blender/python/api2_2x/sceneSequence.h 2007-07-28 09:00:15 UTC (rev 11399)
+++ trunk/blender/source/blender/python/api2_2x/sceneSequence.h 2007-07-28 09:26:53 UTC (rev 11400)
@@ -41,7 +41,7 @@
extern PyTypeObject SceneSeq_Type;
#define BPy_Sequence_Check(v) ((v)->ob_type == &Sequence_Type)
-#define BPy_SceneSeq_Check(v) ((v)->ob_type == &Sequence_Type)
+#define BPy_SceneSeq_Check(v) ((v)->ob_type == &SceneSeq_Type)
/*****************************************************************************/
Modified: trunk/blender/source/blender/src/buttons_editing.c
===================================================================
--- trunk/blender/source/blender/src/buttons_editing.c 2007-07-28 09:00:15 UTC (rev 11399)
+++ trunk/blender/source/blender/src/buttons_editing.c 2007-07-28 09:26:53 UTC (rev 11400)
@@ -3008,7 +3008,8 @@
uiDefBut(block, LABEL, 0, str, 675,135,75,19, 0, 1.0, 0, 0, 0, "");
uiBlockBeginAlign(block);
- uiDefButS(block, NUM, B_RECALCPATH, "PathLen:", 600,50,150,19, &cu->pathlen, 1.0, MAXFRAMEF, 0, 0, "If no speed Ipo was set, the amount of frames of the path");
+ /*note, PathLen's max was MAXFRAMEF but this is a short, perhaps the pathlen should be increased later on */
+ uiDefButS(block, NUM, B_RECALCPATH, "PathLen:", 600,50,150,19, &cu->pathlen, 1.0, 32767.0f, 0, 0, "If no speed Ipo was set, the amount of frames of the path");
uiDefButBitS(block, TOG, CU_PATH, B_RECALCPATH, "CurvePath", 600,30,75,19 , &cu->flag, 0, 0, 0, 0, "Enables curve to become translation path");
uiDefButBitS(block, TOG, CU_FOLLOW, REDRAWVIEW3D, "CurveFollow",675,30,75,19, &cu->flag, 0, 0, 0, 0, "Makes curve path children to rotate along path");
uiDefButBitS(block, TOG, CU_STRETCH, B_CURVECHECK, "CurveStretch", 600,10,150,19, &cu->flag, 0, 0, 0, 0, "Option for curve-deform: makes deformed child to stretch along entire path");
More information about the Bf-blender-cvs
mailing list