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.
This commit is contained in:
2007-07-28 09:26:53 +00:00
parent f8544eefad
commit 48b07b7f15
4 changed files with 5 additions and 4 deletions

View File

@@ -772,7 +772,7 @@ PyTypeObject SurfNurb_Type = {
/* 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; */

View File

@@ -249,7 +249,7 @@ def UIBlock(draw):
@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):

View File

@@ -41,7 +41,7 @@ extern PyTypeObject Sequence_Type;
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)
/*****************************************************************************/